summaryrefslogtreecommitdiff
path: root/user/ttf-hack/APKBUILD
blob: d5fbf1b070bfd90026a8abba819dced294773a88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ttf-hack
pkgver=3.003
pkgrel=0
pkgdesc="Libre typeface designed for source code"
url="https://sourcefoundry.org/hack/"
arch="noarch"
options="!check"  # No test suite.
license="OFL-2.0"
depends=""
makedepends=""
source="https://github.com/source-foundry/Hack/releases/download/v$pkgver/Hack-v$pkgver-ttf.zip"

package() {
	for variant in Regular Bold BoldItalic Italic; do
		install -m644 -D "$srcdir"/ttf/Hack-$variant.ttf \
			"$pkgdir"/usr/share/fonts/truetype/Hack-$variant.ttf
	done
}

sha512sums="7f6a2353711c9da17ff6ce648a28ff038462fbb6f3be91eb5b7f797a7182bb21224942ea5964cc8add3912e18c7e6267d311c7674f45f4295edfe1a1f69f46d3  Hack-v3.003-ttf.zip"