1 #Maintainer: Matt Parnell /ilikenwf <parwok@gmail.com>
6 pkgdesc="X11 event trapping extension library"
9 url="http://xorg.freedesktop.org/"
10 depends=('libxext-git' 'libxt' 'trapproto')
11 makedepends=('pkgconfig')
15 provides=('libxtrap' 'libxtrap-git')
16 conflicts=('libxtrap')
19 _gitroot="git://anongit.freedesktop.org/git/xorg/lib/libXTrap"
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."
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
40 make DESTDIR=${pkgdir} install || return 1