summaryrefslogtreecommitdiff
path: root/extra/xf86-input-aiptek
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-12 10:53:36 +0000
committerroot <root@rshg047.dnsready.net>2011-04-12 10:53:36 +0000
commit28b5bbf3fee0627993658e096eadab71c2779912 (patch)
treeb799e892101aaaedafdcf1315c4def0ff6bdc1c4 /extra/xf86-input-aiptek
parentcabd4a9c1f8304f0d57005b9f31231fc191c8778 (diff)
Tue Apr 12 10:53:36 UTC 2011
Diffstat (limited to 'extra/xf86-input-aiptek')
-rw-r--r--extra/xf86-input-aiptek/PKGBUILD37
1 files changed, 29 insertions, 8 deletions
diff --git a/extra/xf86-input-aiptek/PKGBUILD b/extra/xf86-input-aiptek/PKGBUILD
index d0f6b5468..11f20cb39 100644
--- a/extra/xf86-input-aiptek/PKGBUILD
+++ b/extra/xf86-input-aiptek/PKGBUILD
@@ -1,26 +1,47 @@
-# $Id: PKGBUILD 113901 2011-03-10 19:22:12Z jgc $
+# $Id: PKGBUILD 115529 2011-03-18 10:37:30Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-aiptek
-pkgver=1.3.1
-pkgrel=2
+_gitdate=20110318
+pkgver=1.3.99_git${_gitdate} # see configure.ac
+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-devel')
-conflicts=('xorg-server<1.9.0')
+conflicts=('xorg-server<1.10.0')
options=('!libtool')
groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('8466910dd3877502eb97468db4deab98d49125bb')
+source=(#${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+ ftp://ftp.archlinux.org/other/$pkgname/${pkgname}-${_gitdate}.tar.bz2)
+md5sums=('0dc6fe834142ca7a4bec8fceb0885a15')
+
+# source PKGBUILD && mksource
+mksource() {
+ mkdir /tmp/${pkgname}-${_gitdate}
+ pushd /tmp/${pkgname}-${_gitdate}
+ git clone -v --depth 1 git://anongit.freedesktop.org/xorg/driver/xf86-input-aiptek
+ cd xf86-input-aiptek
+ git archive --prefix=xf86-video-aiptek-${_gitdate}/ --format=tar HEAD | bzip2 > /tmp/${pkgname}-${_gitdate}/${pkgname}-${_gitdate}.tar.bz2
+ popd
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
+# cd "${srcdir}/${pkgname}-${pkgver}"
+# ./configure --prefix=/usr
+ cd ${srcdir}/xf86-video-aiptek-${_gitdate}
+ ./autogen.sh --prefix=/usr
make
+}
+
+package() {
+# cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${srcdir}/xf86-video-aiptek-${_gitdate}
+
make DESTDIR="${pkgdir}" install
+
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}