summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 08:38:27 +0000
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 22:07:10 +0000
commitf55f5709e36c31da2d386aeb76d65b09d34f4218 (patch)
tree43968d275225dc452f1dae265329c517df3fa9e0 /user
parent9cb4dc2d65173515c8c4d8bdd45c1185c7ac850e (diff)
downloadpackages-f55f5709e36c31da2d386aeb76d65b09d34f4218.tar.gz
packages-f55f5709e36c31da2d386aeb76d65b09d34f4218.tar.bz2
packages-f55f5709e36c31da2d386aeb76d65b09d34f4218.tar.xz
packages-f55f5709e36c31da2d386aeb76d65b09d34f4218.zip
user/otf-office-code-pro: new package
Diffstat (limited to 'user')
-rw-r--r--user/otf-office-code-pro/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/otf-office-code-pro/APKBUILD b/user/otf-office-code-pro/APKBUILD
new file mode 100644
index 000000000..6628a1d77
--- /dev/null
+++ b/user/otf-office-code-pro/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=otf-office-code-pro
+pkgver=1.004
+pkgrel=0
+pkgdesc="Monospaced font family for programming and console users"
+url="https://github.com/nathco/Office-Code-Pro"
+arch="noarch"
+options="!check" # No tests
+license="OFL-1.1"
+depends="fontconfig"
+makedepends=""
+source="https://github.com/nathco/Office-Code-Pro/archive/1.004.zip"
+builddir="$srcdir/Office-Code-Pro-$pkgver"
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}
+ cd "$builddir/Fonts/Office Code Pro/OTF"
+ for i in *.otf; do
+ install -Dm644 "$i" "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}
+ done
+ mkdir -p "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}-d
+ cd "$builddir/Fonts/Office Code Pro D/OTF"
+ for i in *.otf; do
+ install -Dm644 "$i" "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}-d
+ done
+}
+
+sha512sums="ad19b5d6c9d5b8a1bd68a943f9a0c7d8b6dd39f0a7ba5b2e0dfc72afc66a3be994e56c683666c232f3fe1246d368f08281219091be68bdf04643408e35a7e1d6 1.004.zip"