From d0b1f834c7c9655bfb2aa0726a03c3c81ce22ee6 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Tue, 21 Mar 2023 16:37:59 +0000 Subject: user/otf-source-serif: rename from otf-source-serif-pro per upstream --- user/otf-source-serif/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 user/otf-source-serif/APKBUILD (limited to 'user/otf-source-serif') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2