# $Id: PKGBUILD 36718 2009-04-27 00:42:02Z eric $ # Maintainer: Alexander Baldeck # Contributor: Jan de Groot pkgname=xf86-input-elo2300 pkgver=1.1.2 pkgrel=3 pkgdesc="X.org ELOGraphics 2300 TouchScreen input driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc') makedepends=('pkgconfig' 'xorg-server>=1.6.0' 'xorg-util-macros') conflicts=('xorg-server<1.6.0') options=('!libtool') groups=('xorg-input-drivers') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 git-77d10116.patch LICENSE) md5sums=('611d0a77a80286bc926dd3c414e59555' 'bcc7222d378fe582324261567159332a'\ '7e89be5fc66cdf9dfd6603a4844a70f7') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/git-77d10116.patch" || return 1 libtoolize --force || return 1 aclocal || return 1 autoconf || return 1 automake || return 1 ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }