[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sun Aug 2 15:05:27 UTC 2020


    Date: Sunday, August 2, 2020 @ 15:05:26
  Author: felixonmars
Revision: 667741

addpkg: ttf-sarasa-gothic 0.12.11-1

Added:
  ttf-sarasa-gothic/
  ttf-sarasa-gothic/repos/
  ttf-sarasa-gothic/trunk/
  ttf-sarasa-gothic/trunk/PKGBUILD

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

Added: ttf-sarasa-gothic/trunk/PKGBUILD
===================================================================
--- ttf-sarasa-gothic/trunk/PKGBUILD	                        (rev 0)
+++ ttf-sarasa-gothic/trunk/PKGBUILD	2020-08-02 15:05:26 UTC (rev 667741)
@@ -0,0 +1,22 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ye Jingchen <ye.jingchen at gmail.com>
+# Contributor: Markus Weimar <mail at markusweimar.de>
+
+pkgname=ttf-sarasa-gothic
+pkgver=0.12.11
+pkgrel=1
+pkgdesc="A CJK programming font based on Iosevka and Source Han Sans. (TTC)"
+arch=('any')
+url="https://github.com/be5invis/Sarasa-Gothic"
+license=('OFL')
+provides=('ttf-sarasa-slab')
+source=("https://github.com/be5invis/Sarasa-Gothic/releases/download/v$pkgver/sarasa-gothic-ttc-$pkgver.7z"
+        "LICENSE-$pkgver::https://raw.githubusercontent.com/be5invis/Sarasa-Gothic/v${pkgver}/LICENSE")
+sha256sums=('fdafcc6629a67c60511dd2b83d56664a76b3a568a5d8f606eee1cbdea659bc07'
+            '07e26208b78894948573d001a0133a8d071e161eba6ae65e2ab521fef311a429')
+
+package() {
+    install -d "$pkgdir/usr/share/fonts/${pkgname:4}"
+    install -m644 *.ttc "$pkgdir/usr/share/fonts/${pkgname:4}"
+    install -Dm644 "LICENSE-$pkgver" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list