[arch-commits] Commit in xf86-input-mutouch/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Tue Aug 24 05:03:39 EDT 2010


    Date: Tuesday, August 24, 2010 @ 05:03:38
  Author: jgc
Revision: 88584

upgpkg: xf86-input-mutouch 1.2.1-6
Rebuild for xserver 1.9

Modified:
  xf86-input-mutouch/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-24 09:02:04 UTC (rev 88583)
+++ PKGBUILD	2010-08-24 09:03:38 UTC (rev 88584)
@@ -3,27 +3,29 @@
 
 pkgname=xf86-input-mutouch
 pkgver=1.2.1
-pkgrel=5
+pkgrel=6
 pkgdesc="X.org mutouch input driver"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
 license=('custom')
 depends=('glibc')
-makedepends=('pkgconfig' 'xorg-server>=1.8.0')
-conflicts=('xorg-server<1.8.0')
+makedepends=('xorg-server-devel')
+conflicts=('xorg-server<1.9.0')
 groups=('xorg-input-drivers')
 options=('!libtool')
 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE
-	mutouch-1.2.1-abi.patch)
+        mutouch-1.2.1-abi.patch)
 md5sums=('f28998cdfae2a4c41589299a4ee1f459'
          '36af84f23456724171d087116f6a4c09'
          '720ecbcc20aaf0b5a78325d048095369')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i ${srcdir}/mutouch-1.2.1-abi.patch || return 1
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  patch -Np1 -i ${srcdir}/mutouch-1.2.1-abi.patch
+  ./configure --prefix=/usr
+  make
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
 }



More information about the arch-commits mailing list