From 37ac3f19ad118254908cf5c29eefbb7b2043b61b Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Mon, 28 Jan 2019 01:23:20 +0000 Subject: user/otf-source-code-pro: new package --- user/otf-source-code-pro/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 user/otf-source-code-pro/APKBUILD (limited to 'user/otf-source-code-pro/APKBUILD') 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 +# Maintainer: Kiyoshi Aman +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" -- cgit v1.2.3-70-g09d2