summaryrefslogtreecommitdiff
path: root/user/otf-source-sans-pro
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 01:14:46 +0000
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 22:07:09 +0000
commit9ee3c4acbee310e741dda7fcdb0d2bbcfbc83485 (patch)
treeb57ae750b46216705eb3ee739187ceb721a50a68 /user/otf-source-sans-pro
parentf8c5046adf9441cd4b755d61b3ee639c7d8ed0f5 (diff)
downloadpackages-9ee3c4acbee310e741dda7fcdb0d2bbcfbc83485.tar.gz
packages-9ee3c4acbee310e741dda7fcdb0d2bbcfbc83485.tar.bz2
packages-9ee3c4acbee310e741dda7fcdb0d2bbcfbc83485.tar.xz
packages-9ee3c4acbee310e741dda7fcdb0d2bbcfbc83485.zip
user/otf-source-sans-pro: new package
Diffstat (limited to 'user/otf-source-sans-pro')
-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"