Date: Tuesday, October 4, 2022 @ 23:33:33
  Author: blakkheim
Revision: 1321341

import ttf-sourcecodepro-nerd from the AUR

Added:
  ttf-sourcecodepro-nerd/
  ttf-sourcecodepro-nerd/repos/
  ttf-sourcecodepro-nerd/trunk/
  ttf-sourcecodepro-nerd/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Added: ttf-sourcecodepro-nerd/trunk/PKGBUILD
===================================================================
--- ttf-sourcecodepro-nerd/trunk/PKGBUILD                               (rev 0)
+++ ttf-sourcecodepro-nerd/trunk/PKGBUILD       2022-10-04 23:33:33 UTC (rev 
1321341)
@@ -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}"
+}

Reply via email to