summaryrefslogtreecommitdiff
path: root/pcr/xf86-input-wizardpen
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-30 22:56:07 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-30 22:56:07 -0300
commite0a8d2cf984cf6deaaec78895751f9f169907643 (patch)
treeb4aaa9ee79d5ee2fba61c8eb025b0c3f2ffb9c5c /pcr/xf86-input-wizardpen
parent5c80a96dff1567e90a68b9f0ce4174e1f4714e82 (diff)
xf86-input-wizardpen: add package to pcr
Diffstat (limited to 'pcr/xf86-input-wizardpen')
-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..4b40ebea2
--- /dev/null
+++ b/pcr/xf86-input-wizardpen/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer (Parabola): 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
+}