summaryrefslogtreecommitdiff
path: root/user/otf-source-serif
diff options
context:
space:
mode:
Diffstat (limited to 'user/otf-source-serif')
-rw-r--r--user/otf-source-serif/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/otf-source-serif/APKBUILD b/user/otf-source-serif/APKBUILD
new file mode 100644
index 000000000..02cd95658
--- /dev/null
+++ b/user/otf-source-serif/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=otf-source-serif-pro
+pkgver=4.004
+pkgrel=0
+pkgdesc="Serif font family for typesetting"
+url="https://adobe-fonts.github.io/source-serif-pro/"
+arch="noarch"
+options="!check" # No test suite.
+license="OFL-1.1"
+depends="fontconfig"
+makedepends=""
+source="https://github.com/adobe-fonts/source-serif-pro/releases/download/${pkgver}R/source-serif-${pkgver}.zip"
+builddir="$srcdir/source-serif-$pkgver"
+
+package() {
+ cd "$builddir"/OTF
+ mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
+ for i in *.otf; do
+ install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
+ done
+}
+
+sha512sums="3af0451c02a11cac3ea3b123c766cddaa99aa52ba81acca7436930237b5c5e13b0b5c384883499ad508bb4510ab55b81ceebb72d546a2c9cfb695feb6c7d774d source-serif-4.004.zip"