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

28 lines
956 B
Bash

# $Id: PKGBUILD 36721 2009-04-27 00:54:03Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-jamstudio
pkgver=1.2.0
pkgrel=3
pkgdesc="X.Org KB-Gear JamStudio pentablet 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')
options=('!libtool')
groups=('xorg-input-drivers')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
git-cbc4a590.patch LICENSE)
md5sums=('8011f90d7dd801d26e8c3dd058633978' '1f3250bf56c3e54a470a7da82eeecdb3'\
'251dae247583bd46978756ae4f41cc33')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/git-cbc4a590.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"
}