# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ttf-font-awesome
_pkgname=Font-Awesome
pkgver=4.7.0
pkgrel=0
pkgdesc="Iconic font designed for Bootstrap TTF file only"
url="http://fortawesome.github.io/Font-Awesome/"
arch="noarch"
license="CC"
depends="fontconfig mkfontdir mkfontscale"
makedepends="font-util-dev"
install="$pkgname.post-install"
source="$pkgname-$pkgver.tar.gz::https://github.com/FortAwesome/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	return 0
}

package() {
	cd "$builddir"
	install -d "$pkgdir/usr/share/fonts/TTF"
	install -m644 fonts/*.ttf "$pkgdir/usr/share/fonts/TTF/"
}
md5sums="a6145901f233f7d54165d8ade779082e  ttf-font-awesome-4.7.0.tar.gz"
sha256sums="de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43  ttf-font-awesome-4.7.0.tar.gz"
sha512sums="913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d  ttf-font-awesome-4.7.0.tar.gz"
