summaryrefslogblamecommitdiff
path: root/user/ttf-hack/APKBUILD
blob: 433d1c1f4461440cecde2d2089d86609bba95b28 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  

            
                                                 
                                     
             
                                  
                 

              

                                                                                                



                                                         
                                                    
                                                                            


            
                                                                                                                                                                  
# 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"
builddir="$srcdir"/ttf

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

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