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

Jan de Groot jgc at archlinux.org
Tue Aug 24 04:55:16 EDT 2010


    Date: Tuesday, August 24, 2010 @ 04:55:16
  Author: jgc
Revision: 88572

upgpkg: xf86-input-hyperpen 1.3.0-5
Rebuild for xserver 1.9

Modified:
  xf86-input-hyperpen/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-24 08:50:26 UTC (rev 88571)
+++ PKGBUILD	2010-08-24 08:55:16 UTC (rev 88572)
@@ -3,27 +3,29 @@
 
 pkgname=xf86-input-hyperpen
 pkgver=1.3.0
-pkgrel=4
+pkgrel=5
 pkgdesc="X.Org HyperPen Tablet 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')
 options=('!libtool')
 groups=('xorg-input-drivers')
 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE
-	hyperpen-1.3.0-abi.patch)
+        hyperpen-1.3.0-abi.patch)
 md5sums=('c50d0da3206d18d9d94f720e3688eca5'
          '0c035812d7b2e5659c7fb3020e871fcf'
          'd04c41d6f00487f36b2ea14ae86df708')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i ${srcdir}/hyperpen-1.3.0-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}/hyperpen-1.3.0-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