[arch-commits] Commit in ttf-linux-libertine/trunk (PKGBUILD libertine.install)

François Charette francois at archlinux.org
Mon May 4 11:37:25 UTC 2009


    Date: Monday, May 4, 2009 @ 07:37:25
  Author: francois
Revision: 37895

upgpkg: ttf-linux-libertine 4.4.1-2.1

Modified:
  ttf-linux-libertine/trunk/PKGBUILD
  ttf-linux-libertine/trunk/libertine.install

-------------------+
 PKGBUILD          |    6 +++---
 libertine.install |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-04 10:59:40 UTC (rev 37894)
+++ PKGBUILD	2009-05-04 11:37:25 UTC (rev 37895)
@@ -5,7 +5,7 @@
 
 pkgname=ttf-linux-libertine
 pkgver=4.4.1
-pkgrel=2
+pkgrel=2.1
 pkgdesc="Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage"
 arch=('i686' 'x86_64')
 license=('GPL' 'custom:OFL')
@@ -19,11 +19,11 @@
   cd ${startdir}/src/LinLibertineFont
   install -d -m 755 $pkgdir/usr/share/fonts/{OTF,TTF} || return 1
   for f in *.ttf; do
-    name=$(echo $f | cut -f 1 -d '-');
+    name=$(echo $f | cut -f1 -d'-');
     mv $f $name.ttf;
   done
   for f in *.otf ; do
-    name=$(echo $f | cut -f 1 -d '-');
+    name=$(echo $f | cut -f1 -d'-');
     mv $f $name.otf;
   done
   install -m644 *.ttf $pkgdir/usr/share/fonts/TTF || return 1

Modified: libertine.install
===================================================================
--- libertine.install	2009-05-04 10:59:40 UTC (rev 37894)
+++ libertine.install	2009-05-04 11:37:25 UTC (rev 37895)
@@ -1,6 +1,6 @@
 post_install() {
   echo -n "Updating font cache... "
-  fc-cache -f > /dev/null
+  fc-cache -s -f > /dev/null
   mkfontscale /usr/share/fonts/TTF
   mkfontdir /usr/share/fonts/TTF
   mkfontscale /usr/share/fonts/OTF




More information about the arch-commits mailing list