1 #Maintainer: ilikenwf / Matt Parnell <parwok@gmail.com>
6 pkgdesc="X transport library"
9 url="http://xorg.freedesktop.org/"
13 provides=('xtrans' 'xtrans-git')
18 _gitroot="git://anongit.freedesktop.org/git/xorg/lib/libxtrans"
23 msg "Connecting to git.freedesktop.org GIT server...."
25 if [ -d $startdir/src/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 cd $startdir/src/$_gitname
37 sh autogen.sh --prefix=/usr || return 1
39 make DESTDIR=${startdir}/pkg install || return 1
40 install -m755 -d ${startdir}/pkg/usr/share/licenses/${pkgname}
41 install -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1