summaryrefslogtreecommitdiff
path: root/user/otf-source-serif-pro/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-01-28 22:09:53 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-01-28 22:09:53 +0000
commit89bb44d4216b701274bdc07f1684a25ce7ccf3a3 (patch)
treefc1ee178e489511c0d76d0e55403cfcadc885c9b /user/otf-source-serif-pro/APKBUILD
parent4dd22b6826da690a6717120a85f5ee973e5fc437 (diff)
parent6bff4092892755a8188744dd0abbf0f270601cff (diff)
downloadpackages-89bb44d4216b701274bdc07f1684a25ce7ccf3a3.tar.gz
packages-89bb44d4216b701274bdc07f1684a25ce7ccf3a3.tar.bz2
packages-89bb44d4216b701274bdc07f1684a25ce7ccf3a3.tar.xz
packages-89bb44d4216b701274bdc07f1684a25ce7ccf3a3.zip
Merge branch 'fonts' into 'master'
Fonts See merge request !159
Diffstat (limited to 'user/otf-source-serif-pro/APKBUILD')
-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"