summaryrefslogtreecommitdiff
path: root/pcr/ttf-font-awesome
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 09:45:37 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 09:45:37 -0500
commit232f8086f61bd207ac8f9e17c0efc2f957640a01 (patch)
tree9ff6f9e5ce5c5a15201db3e208f9786337a5e42e /pcr/ttf-font-awesome
parente1b2f27498960328b87c739c7e059086258f241c (diff)
downloadabslibre-232f8086f61bd207ac8f9e17c0efc2f957640a01.tar.gz
abslibre-232f8086f61bd207ac8f9e17c0efc2f957640a01.tar.bz2
abslibre-232f8086f61bd207ac8f9e17c0efc2f957640a01.zip
ttf-font-awesome-4.3.0-2: updating version
Diffstat (limited to 'pcr/ttf-font-awesome')
-rw-r--r--pcr/ttf-font-awesome/PKGBUILD15
-rw-r--r--pcr/ttf-font-awesome/ttf-font-awesome.install6
2 files changed, 10 insertions, 11 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
}
diff --git a/pcr/ttf-font-awesome/ttf-font-awesome.install b/pcr/ttf-font-awesome/ttf-font-awesome.install
index 56632d242..da3bd53a7 100644
--- a/pcr/ttf-font-awesome/ttf-font-awesome.install
+++ b/pcr/ttf-font-awesome/ttf-font-awesome.install
@@ -1,9 +1,9 @@
post_install() {
- echo -n "Updating font cache..."
- fc-cache -f > /dev/null
+ printf 'Updating font cache...'
+ fc-cache -s > /dev/null
mkfontscale /usr/share/fonts/TTF
mkfontdir /usr/share/fonts/TTF
- echo "done."
+ printf 'done\n'
}
post_upgrade() {