summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 00:54:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 00:54:21 -0500
commit2abcec50d0275b8aee1278293660406a6c72fed6 (patch)
tree953cd94ec7cbd6dfc72e596a8eb65fbe3c0d8938 /user
parent2ed37ce8cf392da2379484bd4d5bf8f7eb99d593 (diff)
downloadpackages-2abcec50d0275b8aee1278293660406a6c72fed6.tar.gz
packages-2abcec50d0275b8aee1278293660406a6c72fed6.tar.bz2
packages-2abcec50d0275b8aee1278293660406a6c72fed6.tar.xz
packages-2abcec50d0275b8aee1278293660406a6c72fed6.zip
user/ttf-hack: bump to 3.003, modernise
Diffstat (limited to 'user')
-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"