[arch-commits] Commit in artwiz-fonts/trunk (PKGBUILD artwiz-fonts.install)

Eric Bélanger eric at archlinux.org
Tue Feb 7 01:30:22 EST 2012


    Date: Tuesday, February 7, 2012 @ 01:30:22
  Author: eric
Revision: 149359

upgpkg: artwiz-fonts 1.3-7

Rebuild to add signature

Modified:
  artwiz-fonts/trunk/PKGBUILD
  artwiz-fonts/trunk/artwiz-fonts.install

----------------------+
 PKGBUILD             |   15 +++++++--------
 artwiz-fonts.install |    6 +++---
 2 files changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-07 06:04:11 UTC (rev 149358)
+++ PKGBUILD	2012-02-07 06:30:22 UTC (rev 149359)
@@ -1,11 +1,10 @@
 # $Id$
-# Maintainer: Thayer Williams <thayer at archlinux.org>
-# Contributor: roberto <roberto at archlinux.org>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=artwiz-fonts
 pkgver=1.3
-pkgrel=6
-pkgdesc="This is set of (improved) artwiz fonts."
+pkgrel=7
+pkgdesc="This is set of (improved) artwiz fonts"
 arch=('any')
 url="http://artwizaleczapka.sourceforge.net/"
 license=('GPL2')
@@ -19,10 +18,10 @@
          'dfc861c4f54e73eea3fd82d60be26dbc')
 
 package() {
-  cd ${srcdir}
-  install -d ${pkgdir}/usr/share/fonts/artwiz-fonts
+  cd "${srcdir}"
+  install -d "${pkgdir}/usr/share/fonts/artwiz-fonts"
   for lang in en de se; do
-     install -p -m 0644 artwiz-aleczapka-$lang-${pkgver}/*.pcf ${pkgdir}/usr/share/fonts/artwiz-fonts
-     cat artwiz-aleczapka-$lang-${pkgver}/fonts.alias >> ${pkgdir}/usr/share/fonts/artwiz-fonts/fonts.alias || return 1
+     install -p -m 0644 artwiz-aleczapka-$lang-${pkgver}/*.pcf "${pkgdir}/usr/share/fonts/artwiz-fonts"
+     cat artwiz-aleczapka-$lang-${pkgver}/fonts.alias >> "${pkgdir}/usr/share/fonts/artwiz-fonts/fonts.alias"
   done
 }

Modified: artwiz-fonts.install
===================================================================
--- artwiz-fonts.install	2012-02-07 06:04:11 UTC (rev 149358)
+++ artwiz-fonts.install	2012-02-07 06:30:22 UTC (rev 149359)
@@ -1,8 +1,8 @@
 post_install() {
   echo -n "Updating font cache... "
-  fc-cache /usr/share/fonts/artwiz-fonts
-  mkfontscale /usr/share/fonts/artwiz-fonts
-  mkfontdir /usr/share/fonts/artwiz-fonts
+  fc-cache usr/share/fonts/artwiz-fonts
+  mkfontscale usr/share/fonts/artwiz-fonts
+  mkfontdir usr/share/fonts/artwiz-fonts
   echo "done."
 }
 



More information about the arch-commits mailing list