summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/otf-source-sans-pro/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/otf-source-sans-pro/APKBUILD b/user/otf-source-sans-pro/APKBUILD
new file mode 100644
index 000000000..497de47fa
--- /dev/null
+++ b/user/otf-source-sans-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-sans-pro
+pkgver=2.045
+_pkgver=1.095
+pkgrel=0
+pkgdesc="Sans serif font family for user interfaces"
+url="https://adobe-fonts.github.io/source-sans-pro"
+arch="noarch"
+options="!check" # No tests
+license="OFL-1.1"
+depends="fontconfig"
+makedepends=""
+source="https://github.com/adobe-fonts/source-sans-pro/releases/download/2.045R-ro%2F1.095R-it/source-sans-pro-${pkgver}R-ro-${_pkgver}R-it.zip"
+builddir="$srcdir/source-sans-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="51b4936460b8882134a362af0c6e2200dc929fa94150346628a8fe3b0ecb5b7f97380ba4b8a339b06e0c5d6d92d4454e95b72eccf12195046475d7aed68cf6fc source-sans-pro-2.045R-ro-1.095R-it.zip"