summaryrefslogtreecommitdiff
path: root/user/ttf-hack/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ttf-hack/APKBUILD')
-rw-r--r--user/ttf-hack/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/user/ttf-hack/APKBUILD b/user/ttf-hack/APKBUILD
index 5f4f3f0e9..433d1c1f4 100644
--- a/user/ttf-hack/APKBUILD
+++ b/user/ttf-hack/APKBUILD
@@ -1,30 +1,24 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ttf-hack
-pkgver=2.020
-pkgrel=1
+pkgver=3.003
+pkgrel=0
pkgdesc="Libre typeface designed for source code"
-url="http://sourcefoundry.org/hack/"
+url="https://sourcefoundry.org/hack/"
arch="noarch"
-license="OFL-2.0"
options="!check" # No test suite.
+license="OFL-2.0"
depends=""
makedepends=""
-install=""
-subpackages=""
-source="https://github.com/source-foundry/Hack/releases/download/v$pkgver/Hack-v2_020-ttf.zip"
-builddir="$srcdir/"
-
-build() {
- cd "$builddir"
-}
+source="https://github.com/source-foundry/Hack/releases/download/v$pkgver/Hack-v$pkgver-ttf.zip"
+builddir="$srcdir"/ttf
package() {
cd "$builddir"
for variant in Regular Bold BoldItalic Italic; do
- install -m644 -D "$srcdir"/Hack-$variant.ttf \
+ install -m644 -D Hack-$variant.ttf \
"$pkgdir"/usr/share/fonts/truetype/Hack-$variant.ttf
done
}
-sha512sums="de3c8e13ace5ee49bb2b5dd331cc3109ad12b762f967c88cdf8f0d1080e5c3cb99d2dffe1c986c9fcc6e46e31c3bc7141cf1c9e1b8430d1ef76a90ab461d1a09 Hack-v2_020-ttf.zip"
+sha512sums="7f6a2353711c9da17ff6ce648a28ff038462fbb6f3be91eb5b7f797a7182bb21224942ea5964cc8add3912e18c7e6267d311c7674f45f4295edfe1a1f69f46d3 Hack-v3.003-ttf.zip"