aboutsummaryrefslogtreecommitdiffstats
path: root/community/ttf-font-awesome/APKBUILD
blob: 5b0cee709f46fef4b86f73f71591464f89017c8a (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
25
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ttf-font-awesome
_pkgname=Font-Awesome
pkgver=5.15.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/Font-Awesome/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="e2f8cff5495925fd972725ac30b938e9eb9d9c9591c8cd2814dc008fb8d2926480e203f94b28b1a65823b425689866921278045e675050e127eec93c6155048d  ttf-font-awesome-5.15.0.tar.gz"