From 868840c5b31365acac97dad4d39d0df75f6c57a9 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Sat, 13 Nov 2010 02:12:45 +0000
Subject: xf86-input-aiptek: up to latest

---
 abs/core/xf86-input-aiptek/PKGBUILD    | 21 ++++++++++++++-------
 abs/core/xf86-input-aiptek/__changelog |  1 +
 2 files changed, 15 insertions(+), 7 deletions(-)
 create mode 100644 abs/core/xf86-input-aiptek/__changelog

diff --git a/abs/core/xf86-input-aiptek/PKGBUILD b/abs/core/xf86-input-aiptek/PKGBUILD
index 509eba6..4fb71f7 100644
--- a/abs/core/xf86-input-aiptek/PKGBUILD
+++ b/abs/core/xf86-input-aiptek/PKGBUILD
@@ -1,22 +1,29 @@
-# $Id: PKGBUILD 10857 2008-08-31 13:24:55Z jgc $
+# $Id: PKGBUILD 88563 2010-08-24 08:45:36Z jgc $
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=xf86-input-aiptek
-pkgver=1.1.1
+pkgver=1.3.1
 pkgrel=1
 pkgdesc="X.Org Aiptek USB Digital Tablet input driver"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
+license=('custom')
 depends=('glibc')
-makedepends=('pkgconfig' 'xorg-server>=1.4.99.906')
+makedepends=('pkgconfig' 'xorg-server')
+conflicts=('xorg-server<1.9.0')
 options=('!libtool')
 groups=('xorg-input-drivers')
 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('2aa75313ea5652a8cf93581c65ee6493')
+sha1sums=('8466910dd3877502eb97468db4deab98d49125bb')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
+}
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
 }
diff --git a/abs/core/xf86-input-aiptek/__changelog b/abs/core/xf86-input-aiptek/__changelog
new file mode 100644
index 0000000..1ab3da1
--- /dev/null
+++ b/abs/core/xf86-input-aiptek/__changelog
@@ -0,0 +1 @@
+change makedepends 'xorg-server-devel' to 'xorg-server'
-- 
cgit v0.12

