mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/ttf-font-awesome-four: new aport
https://fontawesome.com/v4.7.0/ Completely free version of iconic font designed for Bootstrap
This commit is contained in:
parent
07c1290817
commit
550890772b
24
testing/ttf-font-awesome-4/APKBUILD
Normal file
24
testing/ttf-font-awesome-4/APKBUILD
Normal file
@ -0,0 +1,24 @@
|
||||
# Contributor: Dominic Fung <domokun997@gmail.com>
|
||||
# Maintainer: Dominic Fung <domokun997@gmail.com>
|
||||
pkgname=ttf-font-awesome-4
|
||||
_pkgname=Font-Awesome
|
||||
pkgver=4.7.0
|
||||
pkgrel=0
|
||||
pkgdesc="Completely free version of iconic font designed for Bootstrap"
|
||||
url="https://fontawesome.com/v4.7.0/"
|
||||
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/v$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 fonts/*.otf "$pkgdir/usr/share/fonts/X11/OTF/"
|
||||
install -m644 fonts/*.ttf "$pkgdir/usr/share/fonts/TTF/"
|
||||
}
|
||||
sha512sums="913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d ttf-font-awesome-4-4.7.0.tar.gz"
|
||||
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
fc-cache -f > /dev/null
|
||||
mkfontscale /usr/share/fonts/TTF
|
||||
mkfontdir /usr/share/fonts/TTF
|
||||
Loading…
x
Reference in New Issue
Block a user