summaryrefslogtreecommitdiff
path: root/user/otf-source-code-pro
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 01:23:20 +0000
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-01-28 22:07:10 +0000
commit37ac3f19ad118254908cf5c29eefbb7b2043b61b (patch)
tree254e29aecad8f31e4a331869023ddc2c0ca029a0 /user/otf-source-code-pro
parent9ee3c4acbee310e741dda7fcdb0d2bbcfbc83485 (diff)
downloadpackages-37ac3f19ad118254908cf5c29eefbb7b2043b61b.tar.gz
packages-37ac3f19ad118254908cf5c29eefbb7b2043b61b.tar.bz2
packages-37ac3f19ad118254908cf5c29eefbb7b2043b61b.tar.xz
packages-37ac3f19ad118254908cf5c29eefbb7b2043b61b.zip
user/otf-source-code-pro: new package
Diffstat (limited to 'user/otf-source-code-pro')
-rw-r--r--user/otf-source-code-pro/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/otf-source-code-pro/APKBUILD b/user/otf-source-code-pro/APKBUILD
new file mode 100644
index 000000000..442611e3f
--- /dev/null
+++ b/user/otf-source-code-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-code-pro
+pkgver=2.030
+_pkgver=1.050
+pkgrel=0
+pkgdesc="Monospaced font family for user interfaces and programming"
+url="https://adobe-fonts.github.io/source-code-pro/"
+arch="noarch"
+options="!check" # No tests
+license="OFL-1.1"
+depends="fontconfig"
+makedepends=""
+source="https://github.com/adobe-fonts/source-code-pro/archive/${pkgver}R-ro/${_pkgver}R-it.zip"
+builddir="$srcdir/source-code-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="b31d4a33482e7817adbe73919fdeeb0e3c0e4564e6dc1b86e7328ca405c5bb1b36338b665b124848ada2e94917b8ce36ee8cc03dd632648b44d1421486c27d02 1.050R-it.zip"