summaryrefslogtreecommitdiffstats
path: root/main/ttf-dejavu/APKBUILD
blob: e64d5c9c620500f691dee8ef2b870e7da31b0c8f (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
28
29
30
31
32
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ttf-dejavu
pkgver=2.33
pkgrel=0
arch="noarch"
pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
url="http://dejavu.sourceforge.net/"
license="custom"
depends="fontconfig encodings mkfontdir mkfontscale"
makedepends="pkgconfig font-util-dev"
install=
source="http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2
	http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-lgc-fonts-ttf-${pkgver}.tar.bz2
	"

build() {
	return 0
}

package() {
	mkdir -p "$pkgdir/usr/share/fonts/TTF" \
		"$pkgdir"/etc/fonts/conf.avail \
		|| return 1
	for i in dejavu-fonts-ttf-$pkgver dejavu-lgc-fonts-ttf-$pkgver; do
		cd "$srcdir"/$i
		install -m644 ttf/*.ttf "$pkgdir"/usr/share/fonts/TTF/ \
			|| return 1
		install -m644 fontconfig/*.conf \
			"$pkgdir"/etc/fonts/conf.avail/ || return 1
	done
	install -D -m644 LICENSE \
		"$pkgdir/usr/share/licenses/ttf-dejavu/LICENSE" || return 1
}

md5sums="8b601e91725b6d69141b0fcf527948c0  dejavu-fonts-ttf-2.33.tar.bz2
fde03af699ccf8833f09d7002e3060ef  dejavu-lgc-fonts-ttf-2.33.tar.bz2"