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

Pierre Schmitz pierre at archlinux.org
Tue Nov 1 05:56:52 EDT 2011


    Date: Tuesday, November 1, 2011 @ 05:56:52
  Author: pierre
Revision: 141647

rebuild old package

Modified:
  xorg-fonts-alias/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-01 09:52:46 UTC (rev 141646)
+++ PKGBUILD	2011-11-01 09:56:52 UTC (rev 141647)
@@ -3,20 +3,24 @@
 
 pkgname=xorg-fonts-alias
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="X.org font alias files"
 arch=('any')
 url="http://xorg.freedesktop.org/"
 license=('custom')
-source=(${url}/releases/individual/font/font-alias-${pkgver}.tar.bz2 LICENSE)
+source=("${url}/releases/individual/font/font-alias-${pkgver}.tar.bz2"
+        'LICENSE')
 md5sums=('9d40dba6fb8cb58dacb433fc7bcaafca'
          'ff91ae6d96d76130482d04653e7a836a')
 
 build() {
   cd "${srcdir}/font-alias-${pkgver}"
-  ./configure --prefix=/usr --with-fontrootdir=/usr/share/fonts || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+  ./configure --prefix=/usr --with-fontrootdir=/usr/share/fonts
+  make
 }
+
+package() {
+  cd "${srcdir}/font-alias-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list