Date: Tuesday, October 4, 2022 @ 23:34:43
Author: blakkheim
Revision: 1321342
archrelease: copy trunk to community-any
Added:
ttf-sourcecodepro-nerd/repos/community-any/
ttf-sourcecodepro-nerd/repos/community-any/PKGBUILD
(from rev 1321341, ttf-sourcecodepro-nerd/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: ttf-sourcecodepro-nerd/repos/community-any/PKGBUILD (from rev 1321341,
ttf-sourcecodepro-nerd/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-10-04 23:34:43 UTC (rev 1321342)
@@ -0,0 +1,26 @@
+# Maintainer: T.J. Townsend <[email protected]
+# Contributor: P Sherbet <psherbet at psherbet dot com>
+
+pkgname=ttf-sourcecodepro-nerd
+pkgver=2.2.2
+pkgrel=1
+pkgdesc="Patched font Source Code Pro from nerd-fonts library"
+arch=("any")
+url="https://github.com/ryanoasis/nerd-fonts"
+license=("MIT")
+provides=(ttf-font-nerd)
+conflicts=(nerd-fonts-source-code-pro)
+replaces=(nerd-fonts-source-code-pro)
+source=("sourcecodepro-${pkgver}.zip::${url}/releases/download/v${pkgver}/SourceCodePro.zip"
+
"https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${pkgver}/LICENSE")
+sha256sums=('a736448f04c73bdefefc356c024a5d9250ec086a0621c84179fc44587650c731'
+ '245b522abb5aba0d8e84898bf6d5e95102620637626106bfd0061189a2370360')
+
+prepare() {
+ find "${srcdir}" -name '*Windows*' -delete
+}
+
+package() {
+ install -Dm644 *.ttf -t "${pkgdir}/usr/share/fonts/TTF"
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}