PKGBUILDs/extra/xf86-input-palmax/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
955 B
Bash

# $Id: PKGBUILD 36727 2009-04-27 01:41:04Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-palmax
pkgver=1.2.0
pkgrel=3
pkgdesc="X.org palmax (TR88L803) touchscreen input driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.6.0')
conflicts=('xorg-server<1.6.0')
groups=('xorg-input-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
git-5f8c3d97.patch LICENSE)
md5sums=('9655d2235569c5a6ac321c6fb89a6f3b' 'ad6e934a6073b465efc99ad5edc4b79b'\
'6db298bec5113f63f5619567bcda9b56')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/git-5f8c3d97.patch" || 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"
}