1 # Maintainer: Det <nimetonmaili at gmail a dot com>
2 # Contributor: Matt Parnell /ilikenwf <parwok@gmail.com>
3 # Contributor: Jonathan <eyeswide@gmail.com>
4 # Based on [extra]'s libpciaccess
10 pkgdesc="X11 PCI access library - Git version"
11 arch=('i686' 'x86_64')
12 url="http://cgit.freedesktop.org/xorg/lib/$_pkgname/"
14 makedepends=('xorg-util-macros' 'git')
16 provides=("$_pkgname=99")
17 conflicts=("$_pkgname")
19 _gitroot=git://anongit.freedesktop.org/xorg/lib/$_pkgname
23 msg "Connecting to anongit.freedesktop.org GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin && cd ..
27 msg "The local files are updated."
29 git clone --depth 1 $_gitroot
32 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 ./autogen.sh --prefix=/usr
42 make DESTDIR="$pkgdir" install
43 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"