summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 01:50:05 +0000
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 22:07:10 +0000
commit7a3a7c248eabd9f5218968650550103fea6360e9 (patch)
tree3fa4085f8c31343eb5d7a5a673c6aa9512cd2e64 /user
parent37ac3f19ad118254908cf5c29eefbb7b2043b61b (diff)
downloadpackages-7a3a7c248eabd9f5218968650550103fea6360e9.tar.gz
packages-7a3a7c248eabd9f5218968650550103fea6360e9.tar.bz2
packages-7a3a7c248eabd9f5218968650550103fea6360e9.tar.xz
packages-7a3a7c248eabd9f5218968650550103fea6360e9.zip
user/otf-source-serif-pro: new package
Diffstat (limited to 'user')
-rw-r--r--user/otf-source-serif-pro/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/otf-source-serif-pro/APKBUILD b/user/otf-source-serif-pro/APKBUILD
new file mode 100644
index 000000000..529c4fd71
--- /dev/null
+++ b/user/otf-source-serif-pro/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=otf-source-serif-pro
+pkgver=2.010
+_pkgver=1.010
+pkgrel=0
+pkgdesc="Serif font family for typesetting"
+url="https://adobe-fonts.github.io/source-serif-pro/"
+arch="noarch"
+options="!check" # No tests
+license="OFL-1.1"
+depends="fontconfig"
+makedepends=""
+source="https://github.com/adobe-fonts/source-serif-pro/releases/download/${pkgver}R-ro%2F${_pkgver}R-it/source-serif-pro-${pkgver}R-ro-${_pkgver}R-it.zip"
+builddir="$srcdir/source-serif-pro-${pkgver}R-ro-${_pkgver}R-it"
+
+package() {
+ cd "$builddir"/OTF
+ mkdir -p "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}
+ for i in *.otf; do
+ install -Dm644 "$i" "$pkgdir"/usr/share/X11/OTF/${pkgname#*-}
+ done
+}
+
+sha512sums="464fe11a928a8d574912a87d6df66c57a0fba554bb39ff8ae7faf607440f2805f8022f40870ed408284e3676cc164ce114a483ba4259e23b4d06efeee4c0fc3f source-serif-pro-2.010R-ro-1.010R-it.zip"