From 232f8086f61bd207ac8f9e17c0efc2f957640a01 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 30 Apr 2015 09:45:37 -0500 Subject: ttf-font-awesome-4.3.0-2: updating version --- pcr/ttf-font-awesome/PKGBUILD | 15 +++++++-------- pcr/ttf-font-awesome/ttf-font-awesome.install | 6 +++--- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 'pcr') 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 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() { -- cgit v1.2.3