1 # Maintainer: David Hájek <dante4d@gmail.com>
2 pkgname=xcb-util-keysyms-git
5 pkgdesc="Standard X constants and conversion to/from keycodes, GIT version"
7 url="http://cgit.freedesktop.org/xcb/util-keysyms"
9 depends=('libxcb' 'xcb-proto' 'xcb-util-git')
10 makedepends=('gperf' 'autoconf' 'pkgconfig' 'automake' 'git')
11 provides=('xcb-util-keysyms')
12 conflicts=('xcb-util-keysyms')
14 _gitroot="git://anongit.freedesktop.org/git/xcb/util-keysyms/"
15 _gitname="util-keysyms"
19 msg "Connecting to GIT server...."
21 if [[ -d "$_gitname" ]]; then
22 cd "$_gitname" && git pull origin
23 msg "The local files are updated."
25 git clone --recursive "$_gitroot" "$_gitname"
28 msg "GIT checkout done or server timeout"
29 msg "Starting build..."
31 rm -rf "$srcdir/$_gitname-build"
32 cp -R "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
36 ./configure --prefix=/usr
41 cd "$srcdir/$_gitname-build"
42 make DESTDIR="$pkgdir/" install