updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / xf86-input-keyboard-git / PKGBUILD
blobbc160d908d24f1d54ca9e8181960c49dd85d5061
1 #Maintainer: <SpeedVin at archlinux dot us>
2 pkgname=xf86-input-keyboard-git
3 pkgver=20080809
4 pkgrel=1
5 pkgdesc="X.org keyboard input driver (git version)"
6 arch=('i686' 'x86_64')
7 url="http://www.freedesktop.org"
8 license="GPL"
9 makedepends=('git' 'xorg-server-git')
10 provides=('xf86-input-keyboard')
11 conflicts=('xf86-input-keyboard')
12 source=()
13 md5sums=()
15 _gitroot="git://anongit.freedesktop.org/git/xorg/driver/xf86-input-keyboard"
16 _gitname="xf86-input-keyboard"
18 build() {
19   cd ${startdir}/src/
20   msg "Connecting to git.freedesktop.org GIT server...."
22   if [ -d $startdir/src/$_gitname ] ; then
23   cd $_gitname && git-pull origin
24   msg "The local files are updated."
25   else
26   git clone $_gitroot
27   fi
29   msg "GIT checkout done or server timeout"
30   msg "Starting make..."
32   cd $startdir/src/
33   cp -r ${startdir}/src/$_gitname ${startdir}/src/$_gitname-build || return 1
34   cd $startdir/src/$_gitname-build/
36   ./autogen.sh
37   ./configure --prefix=/usr --sysconfdir=/etc
38   make || return 1
39   make DESTDIR=$startdir/pkg install
41 md5sums=()