diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-09 23:20:16 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-11 15:14:41 -0300 |
commit | e298ff12e607b63abd97e2aa7e33a52a181e0383 (patch) | |
tree | 7e7c334d6634a33fe7d31a4d728fddd18beae54b /community/ttf-hack | |
parent | 3d59341e662acfc945669bec947347a2358ba60c (diff) | |
download | aports-e298ff12e607b63abd97e2aa7e33a52a181e0383.tar.bz2 aports-e298ff12e607b63abd97e2aa7e33a52a181e0383.tar.xz |
community/ttf-hack: move from testing
Diffstat (limited to 'community/ttf-hack')
-rw-r--r-- | community/ttf-hack/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/ttf-hack/APKBUILD b/community/ttf-hack/APKBUILD new file mode 100644 index 0000000000..2aa04167b9 --- /dev/null +++ b/community/ttf-hack/APKBUILD @@ -0,0 +1,25 @@ +# Contributor: Ivan Tham <pickfire@riseup.net> +# Maintainer: Ivan Tham <pickfire@riseup.net> +pkgname=ttf-hack +pkgver=3.003 +pkgrel=1 +pkgdesc="A typeface designed for source code" +url="https://sourcefoundry.org/hack/" +arch="noarch" +options="!check" +license="MIT" +depends="fontconfig mkfontscale" +source="https://github.com/source-foundry/Hack/releases/download/v$pkgver/Hack-v$pkgver-ttf.tar.xz" + +unpack() { + mkdir -p "$builddir" + busybox tar -Jxvf "$srcdir"/Hack-v$pkgver-ttf.tar.xz \ + -C "$builddir" > /dev/null +} + +package() { + mkdir -p "$pkgdir"/usr/share/fonts/$pkgname + install -m644 *.ttf "$pkgdir"/usr/share/fonts/$pkgname +} + +sha512sums="d6480957ef77b0e117a564b76e7b8b041a28cfc89441d394a27e2a1b230cae7a67c0b9f3cbe6aab48c5d2cc832b0ea653017a3b925db1d0cc2885e02eab9a81d Hack-v3.003-ttf.tar.xz" |