summaryrefslogtreecommitdiff
path: root/extra/xf86-input-void/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xf86-input-void/PKGBUILD')
-rw-r--r--extra/xf86-input-void/PKGBUILD28
1 files changed, 7 insertions, 21 deletions
diff --git a/extra/xf86-input-void/PKGBUILD b/extra/xf86-input-void/PKGBUILD
index 6c4a38685..004bf14a9 100644
--- a/extra/xf86-input-void/PKGBUILD
+++ b/extra/xf86-input-void/PKGBUILD
@@ -1,9 +1,8 @@
-# $Id: PKGBUILD 115535 2011-03-18 10:46:45Z andyrtr $
+# $Id: PKGBUILD 123252 2011-05-09 13:38:43Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-void
-_gitdate=20110318
-pkgver=1.3.1.99_git${_gitdate} # see configure.ac
+pkgver=1.4.0
pkgrel=1
pkgdesc="X.org void input driver"
arch=(i686 x86_64)
@@ -14,31 +13,18 @@ makedepends=('xorg-server-devel')
conflicts=('xorg-server<1.10.0')
groups=('xorg-drivers' 'xorg')
options=('!libtool')
-source=(#${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- ftp://ftp.archlinux.org/other/$pkgname/${pkgname}-${_gitdate}.tar.bz2)
-md5sums=('0ec2820fc178138d393fd248f56b8754')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('49b462d3acb16337eaf78202d4074f19d5e20b29')
-# 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-void
- cd xf86-input-void
- git archive --prefix=xf86-video-void-${_gitdate}/ --format=tar HEAD | bzip2 > /tmp/${pkgname}-${_gitdate}/${pkgname}-${_gitdate}.tar.bz2
- popd
-}
build() {
-# cd "${srcdir}/${pkgname}-${pkgver}"
-# ./configure --prefix=/usr
- cd ${srcdir}/xf86-video-void-${_gitdate}
- ./autogen.sh --prefix=/usr
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
make
}
package() {
-# cd "${srcdir}/${pkgname}-${pkgver}"
- cd ${srcdir}/xf86-video-void-${_gitdate}
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install