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

Jan de Groot jgc at archlinux.org
Fri Sep 4 12:48:43 UTC 2009


    Date: Friday, September 4, 2009 @ 08:48:43
  Author: jgc
Revision: 50995

upgpkg: xf86driproto 2.1.0-1
    Update to 2.1.0
Switch to -any architecture

Modified:
  xf86driproto/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-09-04 12:38:16 UTC (rev 50994)
+++ PKGBUILD	2009-09-04 12:48:43 UTC (rev 50995)
@@ -2,20 +2,22 @@
 # Maintainer: Alexander Baldeck <alexander at archlinux.org>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 pkgname=xf86driproto
-pkgver=2.0.4
-pkgrel=2
+pkgver=2.1.0
+pkgrel=1
 pkgdesc="X11 DRI extension wire protocol"
-arch=(i686 x86_64)
+arch=(any)
 url="http://xorg.freedesktop.org/"
 license=('custom')
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2 LICENSE)
-md5sums=('01470d088da3a8a3deefa8e1f45d69cb' 'ab39cbff950541dc686b18aa181730f4')
+source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
+        LICENSE)
+sha1sums=('0dfc6616ffc68ca3c3b5decb1e365aaa93be8548'
+          '32bab65dd9c0b49333146abf16602967041b0d92')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr || return 1
   make || return 1
-  make DESTDIR=${pkgdir} install || return 1
-  install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  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
 }
-




More information about the arch-commits mailing list