aboutsummaryrefslogblamecommitdiffstats
path: root/main/ttf-dejavu/APKBUILD
blob: 55973977cfc96fe05ca4b618faa856348d8d0b7b (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
           
        
             



                                                                                        
                                     
        


                                                                                                               
 


                
 
           











                                                                           

 





                                                                                                                                                                           
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ttf-dejavu
pkgver=2.34
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="161462de16e2ca79873bc2b0d2e6c74c  dejavu-fonts-ttf-2.34.tar.bz2
3e368ed1cfaa1113433c5ab50f6cc4fa  dejavu-lgc-fonts-ttf-2.34.tar.bz2"
sha256sums="d0a72c3ae99f5b8d7470daf091ec43f78dc942795aed5c996ab1aa678702eb5d  dejavu-fonts-ttf-2.34.tar.bz2
a7a87a8c80b28559fc2495a300ed687e20a24bc642f2dde780439c77d69d6a74  dejavu-lgc-fonts-ttf-2.34.tar.bz2"
sha512sums="3a79adeeebdc4fb26c9d48d042fd8f42428aaf95e289bb9842aecf728e269792a90a68d3651fb8b0cceea394daaa824c353722dc2b9577a819265f9159bb17ef  dejavu-fonts-ttf-2.34.tar.bz2
69f47f0862a4bc6e63425ba5a4e2d59cba201a483b53aa846d04b05e645d0e4842230c19601839f846aa2e582c3b6c6a542f6b015e18949d93e2b37b5e29a473  dejavu-lgc-fonts-ttf-2.34.tar.bz2"