[arch-commits] Commit in xf86dgaproto/trunk (PKGBUILD)

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


    Date: Tuesday, November 1, 2011 @ 05:52:15
  Author: pierre
Revision: 141645

upgpkg: xf86dgaproto :2.1-2

rebuild old package

Modified:
  xf86dgaproto/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-01 05:45:03 UTC (rev 141644)
+++ PKGBUILD	2011-11-01 09:52:15 UTC (rev 141645)
@@ -4,20 +4,23 @@
 
 pkgname=xf86dgaproto
 pkgver=2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="X11 Direct Graphics Access extension wire protocol"
-arch=(any)
+arch=('any')
 url="http://xorg.freedesktop.org/"
 license=('custom')
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('a036dc2fcbf052ec10621fd48b68dbb1')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr
+  make
+}
 
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}" || return 1
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }



More information about the arch-commits mailing list