1 # Maintainer: Det <nimetonmaili at gmail a-dot com>
2 # Contributor: Matt Parnell/ilikenwf <parwok@gmail.com>
3 # Based on [extra]'s xproto
9 pkgdesc="X11 core wire protocol and auxiliary headers - Git version"
12 url="http://cgit.freedesktop.org/xorg/proto/$_pkgname/"
14 provides=("$_pkgname=99")
15 conflicts=("$_pkgname")
17 _gitroot=git://anongit.freedesktop.org/xorg/proto/$_pkgname
21 msg "Connecting to anongit.freedesktop.org GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin && cd ..
25 msg "The local files are updated."
27 git clone --depth 1 $_gitroot
30 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 ./autogen.sh --prefix=/usr
40 make DESTDIR="$pkgdir" install
41 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"