updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / xf86-input-mouse-git / PKGBUILD
blob6188c7e773f66bad138d3a5be9ac451e027efd97
1 #Maintainer: <SpeedVin at archlinux dot us>
2 pkgname=xf86-input-mouse-git
3 pkgver=20080808
4 pkgrel=1
5 pkgdesc="X.org mouse input driver"
6 arch=(i686 x86_64)
7 license=('custom')
8 url="http://xorg.freedesktop.org/"
9 depends=('glibc')
10 makedepends=('pkgconfig' 'xorg-server-git')
11 options=('!libtool')
12 groups=('xorg' 'xorg-input-drivers')
13 source=()
14 md5sums=()
15 provides=('xf86-input-mouse' 'xf86-input-mouse-git')
16 conflicts=('xf86-input-mouse')
17 replaces=('xf86-input-mouse')
19 _gitroot="git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse"
20 _gitname="xf86-input-mouse"
22 build() {
24  msg "Connecting to git.freedesktop.org GIT server...."
26   if [ -d $startdir/src/$_gitname ] ; then
27   cd $_gitname && git pull origin
28   msg "The local files are updated."
29   else
30   git clone $_gitroot
31   fi
33   msg "GIT checkout done or server timeout"
34   msg "Starting make..."
36 cd $startdir/src/$_gitname
38   sh autogen.sh --prefix=/usr || return 1
39   make || return 1
40   make DESTDIR=${startdir}/pkg install || return 1
43 md5sums=()
44 md5sums=()