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

25 lines
867 B
Bash

# $Id: PKGBUILD 36722 2009-04-27 00:58:16Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-joystick
pkgver=1.4.1
pkgrel=2
pkgdesc="X.Org Joystick input driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.6')
conflicts=('xorg-server<1.6')
groups=('xorg-input-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE)
md5sums=('4d25fd27d6b4416b9754f6d4ed66cbb4' 'acdc07d5ebf95564cc026d5c55b661c2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./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"
}