summaryrefslogtreecommitdiff
path: root/user/otf-source-serif
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-03-21 16:37:59 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2023-03-31 05:35:55 +0000
commitd0b1f834c7c9655bfb2aa0726a03c3c81ce22ee6 (patch)
tree13740775fdedc9b7ce4223d2456f4a7d137731e9 /user/otf-source-serif
parented3615dc540d23f3dabf763648160696ce202f45 (diff)
downloadpackages-d0b1f834c7c9655bfb2aa0726a03c3c81ce22ee6.tar.gz
packages-d0b1f834c7c9655bfb2aa0726a03c3c81ce22ee6.tar.bz2
packages-d0b1f834c7c9655bfb2aa0726a03c3c81ce22ee6.tar.xz
packages-d0b1f834c7c9655bfb2aa0726a03c3c81ce22ee6.zip
user/otf-source-serif: rename from otf-source-serif-pro per upstream
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"