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

28 lines
1,007 B
Bash

# $Id: PKGBUILD 36723 2009-04-27 01:14:04Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-input-magellan
pkgver=1.2.0
pkgrel=3
pkgdesc="X.Org Magellan Space mouse 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-fb553dd3.patch LICENSE)
md5sums=('9801ba10f15f8be2420dfb3f3b5d5d27' 'ef5f82e2b22375ba5b73396cb9ea6684'\
'972cc4413bca7d69d462e63f35823b27')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/git-fb553dd3.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"
}