summaryrefslogtreecommitdiff
path: root/pcr/xf86-input-wizardpen/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xf86-input-wizardpen/PKGBUILD')
-rw-r--r--pcr/xf86-input-wizardpen/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/pcr/xf86-input-wizardpen/PKGBUILD b/pcr/xf86-input-wizardpen/PKGBUILD
new file mode 100644
index 000000000..dfad17f34
--- /dev/null
+++ b/pcr/xf86-input-wizardpen/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=xf86-input-wizardpen
+_pkgname=${pkgname:11}
+pkgver=0.8.1
+pkgrel=4
+pkgdesc="X.Org ${_pkgname^}/Genius tablet driver for GNU/Linux-libre"
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=https://launchpad.net/$_pkgname
+license=GPL2
+depends=glibc
+makedepends=xorg-server-devel
+conflicts=(
+ $_pkgname
+ $_pkgname-driver
+)
+replaces=(
+ $_pkgname
+ $_pkgname-driver
+)
+source=http://launchpad.net/$_pkgname/trunk/${pkgver::3}/+download/${pkgname/xf86/xorg}-$pkgver.tar.bz2
+sha512sums=8830febe579231a2990dd31fad7db1d16424ad01b7226e0b09bd6287070f8099338f2f3e4d715772ed6616d7e13b52e83e816c400b638d47f1f92c30ec677d59
+
+prepare() {
+ cd $srcdir/${pkgname/xf86/xorg}-$pkgver
+ sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.ac
+}
+
+build() {
+ cd $srcdir/${pkgname/xf86/xorg}-$pkgver
+ setarch $CARCH ./autogen.sh --prefix=/usr\
+ --with-xorg-conf-dir=/etc/X11/xorg.conf.d
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/${pkgname/xf86/xorg}-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+}