aboutsummaryrefslogtreecommitdiffstats
path: root/community/ttf-font-awesome/APKBUILD
blob: a13631e7fe5f9b6c33e285c6894ec7a07d473ee8 (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.1
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="0dfef0ae11d032bf52ecdc5ea94ad258805e61b7b4e2aedcf7b0b4d2f0977466339af54310b796eefe3115ef2cb10d1537080d2d68746379ff83cfcbea5c377f  ttf-font-awesome-5.15.1.tar.gz"