diff options
Diffstat (limited to 'user/otf-source-serif-pro/APKBUILD')
-rw-r--r-- | user/otf-source-serif-pro/APKBUILD | 25 |
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" |