summaryrefslogtreecommitdiff
path: root/pcr/ttf-font-awesome/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ttf-font-awesome/PKGBUILD')
-rw-r--r--pcr/ttf-font-awesome/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/pcr/ttf-font-awesome/PKGBUILD b/pcr/ttf-font-awesome/PKGBUILD
index 179d8566c..1b8e24d1c 100644
--- a/pcr/ttf-font-awesome/PKGBUILD
+++ b/pcr/ttf-font-awesome/PKGBUILD
@@ -2,20 +2,19 @@
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=ttf-font-awesome
-pkgver=4.0.3
-pkgrel=1
+pkgver=4.3.0
+pkgrel=2
pkgdesc="Iconic font designed for Bootstrap"
url="http://fortawesome.github.io/Font-Awesome/"
-license=('CCPL')
+license=('OFL')
depends=('fontconfig' 'xorg-font-utils')
options=("!strip")
install=$pkgname.install
arch=('any')
-source=("https://github.com/FortAwesome/Font-Awesome/archive/master.zip")
-#source=("http://fortawesome.github.io/Font-Awesome/assets/font-awesome-$pkgver.zip")
-
+source=("https://github.com/FortAwesome/Font-Awesome/archive/v$pkgver.tar.gz")
+sha256sums=('cc75bfea92128834c379d69f776ecbd103256137f8f482cad71425e68ee4be97')
package() {
- install -d "$pkgdir/usr/share/fonts/TTF"
- cp -dpr --no-preserve=ownership "$srcdir/Font-Awesome-master/fonts/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
+ cd Font-Awesome-$pkgver/fonts
+ for i in *.ttf; do install -Dm644 "$i" "$pkgdir/usr/share/fonts/TTF/$i"; done
}