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

28 lines
934 B
Bash

# $Id: PKGBUILD 36731 2009-04-27 02:05:36Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-tek4957
pkgver=1.2.0
pkgrel=3
pkgdesc="X.org tek4957 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-ea5d265d.patch LICENSE)
md5sums=('8103db1ca5c55726e0b58148e4b1fc06' '4686413ed3681ade00c0c2a8bc1b168a'\
'a79c68b0293c1dac21d939fc2b5515b0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/git-ea5d265d.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"
}