# $Id: PKGBUILD 136555 2011-08-30 08:45:56Z jgc $ # Maintainer: Jan "heftig" Steffens # Contributor: Jan de Groot # Contributor: M Rawash pkgname=xf86-input-wacom pkgver=0.11.1 pkgrel=3 pkgdesc="X.Org Wacom tablet driver" arch=('i686' 'x86_64') url="http://linuxwacom.sourceforge.net/" license=('GPL') backup=('etc/X11/xorg.conf.d/50-wacom.conf') depends=('libxi' 'libxrandr') makedepends=('xorg-server-devel>=1.10.99.902' 'libxext' 'libxi') conflicts=('xorg-server<1.10.99.902') options=(!libtool) source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2 70-wacom.rules) md5sums=('0aec4a338cc583ed497b6af68d6d80ab' '10db4f8272286690255c1bcc18bfdd92') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/lib/udev/rules.d" install -m644 "${srcdir}/70-wacom.rules" "${pkgdir}/lib/udev/rules.d/" }