From e0a8d2cf984cf6deaaec78895751f9f169907643 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Tue, 30 Apr 2013 22:56:07 -0300 Subject: xf86-input-wizardpen: add package to pcr --- pcr/xf86-input-wizardpen/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pcr/xf86-input-wizardpen/PKGBUILD (limited to 'pcr/xf86-input-wizardpen/PKGBUILD') 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 + +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 +} -- cgit v1.2.3