diff options
-rw-r--r-- | user/otf-source-code-pro/APKBUILD | 25 |
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" |