# 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"