aboutsummaryrefslogtreecommitdiffstats
path: root/community/ttf-font-awesome/APKBUILD
blob: 4bf7e4c23c5f9c51d29c563347d35a9b4ab31559 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ttf-font-awesome
_pkgname=Font-Awesome
pkgver=5.14.0
pkgrel=0
pkgdesc="Iconic font designed for Bootstrap TTF file only"
url="https://fortawesome.github.io/Font-Awesome/"
arch="noarch"
license="CC"
options="!check"
depends="fontconfig mkfontdir mkfontscale"
makedepends="font-util-dev"
install="$pkgname.post-install"
source="$pkgname-$pkgver.tar.gz::https://github.com/FortAwesome/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

package() {
	install -d "$pkgdir/usr/share/fonts/TTF"
	install -d "$pkgdir/usr/share/fonts/X11/OTF"
	install -m644 otfs/*.otf "$pkgdir/usr/share/fonts/X11/OTF/"
	install -m644 webfonts/*.ttf "$pkgdir/usr/share/fonts/TTF/"
}
sha512sums="a46679ae7758a94a4e52e0d24486aa2968d4ffa5fe0a583150847eeedc5703ad9cb47a0c71d074595ef7f44b91dae2b00abbe1c3e648447bfb5366daab99f6e3  ttf-font-awesome-5.14.0.tar.gz"