Commit 55089077 authored by Dominic Fung's avatar Dominic Fung Committed by Kevin Daudt

testing/ttf-font-awesome-four: new aport

https://fontawesome.com/v4.7.0/
Completely free version of iconic font designed for Bootstrap
parent 07c12908
# 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"
#!/bin/sh
fc-cache -f > /dev/null
mkfontscale /usr/share/fonts/TTF
mkfontdir /usr/share/fonts/TTF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment