PKGBUILDs/extra/xf86-input-evtouch/PKGBUILD
2009-09-26 09:35:50 -05:00

25 lines
859 B
Bash

# Contributor: Giuseppe Borzi <gborzi@ieee.org>
pkgname=xf86-input-evtouch
pkgver=0.8.8
pkgrel=3
pkgdesc="Input driver for Linux event touchscreens"
arch=(arm)
url="http://www.conan.de/touchscreen/evtouch.html"
license=('GPL')
depends=('glibc' 'libx11')
makedepends=('pkgconfig' 'xorg-server>=1.6.0')
options=(!libtool)
source=(http://www.conan.de/touchscreen/$pkgname-$pkgver.tar.bz2 debian_patches.diff)
md5sums=('4d8e092356d8353002f60a4907046c13'
'8ed0a13041b055cd9cc37c9a503d4ec5')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i $startdir/src/debian_patches.diff
./configure --prefix=/usr --sysconfdir=/etc --enable-evcalibrate
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m755 $startdir/src/evtouch_settings $startdir/pkg/etc/rc.d/evtouch_settings
install -d $startdir/pkg/etc/evtouch
}