mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/ttf-font-awesome: new aport
This commit is contained in:
parent
ac81757085
commit
072234a326
29
testing/ttf-font-awesome/APKBUILD
Normal file
29
testing/ttf-font-awesome/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# 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="CCPL"
|
||||
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"
|
4
testing/ttf-font-awesome/ttf-font-awesome.post-install
Normal file
4
testing/ttf-font-awesome/ttf-font-awesome.post-install
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
fc-cache -f > /dev/null
|
||||
mkfontscale /usr/share/fonts/TTF
|
||||
mkfontdir /usr/share/fonts/TTF
|
Loading…
Reference in New Issue
Block a user