aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-freefont/APKBUILD
blob: 842e99b269af4d9b50008b1443b7a7a772487b30 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ttf-freefont
pkgver=20120503
pkgrel=1
pkgdesc="A set of free high-quality TrueType fonts covering the UCS character set"
url="http://www.nongnu.org/freefont/"
arch="noarch"
license="GPL-3.0+ with exception"
options="!check"  # No test suite.
depends="fontconfig encodings mkfontdir mkfontscale"
makedepends="font-util-dev"
source="http://ftp.gnu.org/gnu/freefont/freefont-ttf-$pkgver.zip"
builddir="$srcdir/freefont-$pkgver"

build() {
	return 0
}

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

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