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

Allan McRae allan at archlinux.org
Fri Feb 17 05:43:31 EST 2012


    Date: Friday, February 17, 2012 @ 05:43:31
  Author: allan
Revision: 150383

upgpkg: xorg-fonts-75dpi 1.0.1-4

signing rebuild

Modified:
  xorg-fonts-75dpi/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-17 10:30:21 UTC (rev 150382)
+++ PKGBUILD	2012-02-17 10:43:31 UTC (rev 150383)
@@ -1,9 +1,10 @@
 # $Id$
-# Maintainer: Alexander Baldeck <alexander at archlinux.org>
+# Maintainer: 
 # Contributor: Jan de Groot <jgc at archlinux.org>
+
 pkgname=xorg-fonts-75dpi
 pkgver=1.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="X.org 75dpi fonts"
 arch=(any)
 url="http://xorg.freedesktop.org/"
@@ -24,17 +25,27 @@
 
 build() {
   cd "${srcdir}"
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
   for dir in *; do
     if [ -d "${dir}" ]; then
       pushd "${dir}"
       ./configure --prefix=/usr \
-          --with-fontdir=/usr/share/fonts/75dpi || return 1
-      make || return 1
-      make DESTDIR="${pkgdir}" install || return 1
-      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-75dpi-*}" || return 1
+          --with-fontdir=/usr/share/fonts/75dpi
+      make
       popd
     fi
   done
+}
+
+package() {
+  cd "${srcdir}"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  for dir in *; do
+    if [ -d "${dir}" ]; then
+      pushd "${dir}"
+      make DESTDIR="${pkgdir}" install
+      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-75dpi-*}"
+      popd
+    fi
+  done
   rm -f "${pkgdir}"/usr/share/fonts/75dpi/fonts.*
-}
+}
\ No newline at end of file



More information about the arch-commits mailing list