summaryrefslogblamecommitdiff
path: root/user/ttf-freefont/APKBUILD
blob: 9320aadfe457303b766c636cb2eebcac39098080 (plain) (tree)
1
2
3
4
                                                          

                    
        










                                                                    
                                                      
                                                                           
                                                                        
                                                                                      


                                                                                                                                                                        
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=ttf-freefont
pkgver=20120503
pkgrel=1
pkgdesc="High-quality TrueType fonts covering the UCS character set"
url="http://www.nongnu.org/freefont/"
arch="noarch"
options="!check"  # No test suite.
license="GPL-3.0+ with exception"
depends="encodings fontconfig mkfontdir mkfontscale"
makedepends="font-util-dev"
source="https://ftp.gnu.org/gnu/freefont/freefont-ttf-$pkgver.zip"
builddir="$srcdir/freefont-$pkgver"

package() {
	install -d "$pkgdir/usr/share/fonts/$pkgname/"
	install -m644 "$builddir"/*.ttf "$pkgdir/usr/share/fonts/$pkgname/"
	# Licensing exception is discussed in README in pkgver==20120503
	install -Dm644 "$builddir"/README "$pkgdir/usr/share/licenses/$pkgname/README"
}

sha512sums="dcd6f525e8f97631c6f84ab4cc2a31af4614dcdb9a4d434bd890baf18e0c2934032f2915384fc27fbecf60d259d792e48f52d357b07e3ed2616d3c8c3544268e  freefont-ttf-20120503.zip"