summaryrefslogtreecommitdiff
path: root/extra/xf86-input-wacom/PKGBUILD
blob: 2ee290485bd32d282efe7368825d431e5e318073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 115476 2011-03-18 08:17:07Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: M Rawash <mrawash@gmail.com>

pkgname=xf86-input-wacom
pkgver=0.10.9
pkgrel=1
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' 'libxext' 'libxi')
conflicts=('xorg-server<1.10.0')
options=(!libtool)
source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2
        70-wacom.rules)
md5sums=('8af337d2919995f39ff19d8a890ea222'
         '4d3665bb2ef8a8190734640dffa4c6f7')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d
  make
  make DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/lib/udev/rules.d"
  install -m644 "${srcdir}/70-wacom.rules"  "${pkgdir}/lib/udev/rules.d/"
}