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

28 lines
952 B
Bash

# $Id: PKGBUILD 36732 2009-04-27 02:11:29Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-ur98
pkgver=1.1.0
pkgrel=6
pkgdesc="X.org ur98 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-4250b814.patch LICENSE)
md5sums=('3cf8928411458baaa9e726e51772c550' 'caae2004261002d868bf80900449356a'\
'50e1e36e0f4514791f87a3ae894158f3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/git-4250b814.patch" || return 1
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}