[arch-commits] Commit in xorg-fonts-cyrillic/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Fri Feb 17 04:40:36 EST 2012


    Date: Friday, February 17, 2012 @ 04:40:36
  Author: allan
Revision: 150371

upgpkg: xorg-fonts-cyrillic 1.0.1-2

signing rebuild

Modified:
  xorg-fonts-cyrillic/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-17 09:35:04 UTC (rev 150370)
+++ PKGBUILD	2012-02-17 09:40:36 UTC (rev 150371)
@@ -3,7 +3,7 @@
 
 pkgname=xorg-fonts-cyrillic
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="X.org cyrillic fonts"
 arch=(any)
 url="http://xorg.freedesktop.org/"
@@ -26,12 +26,22 @@
     if [ -d "${dir}" ]; then
       pushd "${dir}"
       ./configure --prefix=/usr \
-		      --with-fontdir=/usr/share/fonts/cyrillic || return 1
-      make || return 1
-      make DESTDIR="${pkgdir}" install || return 1
-      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}"
+		      --with-fontdir=/usr/share/fonts/cyrillic
+      make
       popd
     fi
   done
+}
+
+package() {
+  cd "${srcdir}"
+  for dir in *; do
+    if [ -d "${dir}" ]; then
+      pushd "${dir}"
+      make DESTDIR="${pkgdir}" install
+      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}"
+      popd
+    fi    
+  done
   rm -f "${pkgdir}"/usr/share/fonts/*/fonts.*
 }



More information about the arch-commits mailing list