blob: 5f4f3f0e927d46e2e89d12e98ba46ba6ce1cdd45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ttf-hack
pkgver=2.020
pkgrel=1
pkgdesc="Libre typeface designed for source code"
url="http://sourcefoundry.org/hack/"
arch="noarch"
license="OFL-2.0"
options="!check" # No test suite.
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"
}
package() {
cd "$builddir"
for variant in Regular Bold BoldItalic Italic; do
install -m644 -D "$srcdir"/Hack-$variant.ttf \
"$pkgdir"/usr/share/fonts/truetype/Hack-$variant.ttf
done
}
sha512sums="de3c8e13ace5ee49bb2b5dd331cc3109ad12b762f967c88cdf8f0d1080e5c3cb99d2dffe1c986c9fcc6e46e31c3bc7141cf1c9e1b8430d1ef76a90ab461d1a09 Hack-v2_020-ttf.zip"
|