1 # Maintainer: Det <nimetonmaili at gmail a-dot com>
2 # Based on [extra]'s resourceproto
8 pkgdesc="X11 Resource extension wire protocol - Git version"
10 url="http://cgit.freedesktop.org/xorg/proto/$_pkgname/"
13 provides=("$_pkgname=99")
14 conflicts=("$_pkgname")
16 _gitroot=git://anongit.freedesktop.org/xorg/proto/$_pkgname
20 msg "Connecting to anongit.freedesktop.org GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin && cd ..
24 msg "The local files are updated."
26 git clone --depth 1 $_gitroot
29 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 ./autogen.sh --prefix=/usr
39 make DESTDIR="$pkgdir" install
40 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"