1 # Maintainer: Olivier Keun <olivier [dot] keun [at] gmail [dot] com>
6 pkgdesc="An xcb-based status- and ws-bar for i3"
8 url="http://git.merovius.de/i3bar/"
10 makedepends=('git' 'pkgconfig' 'asciidoc')
12 _gitroot="git://git.merovius.de/i3bar"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
40 make DESTDIR="$pkgdir" install || return 1
42 install -Dm644 LICENSE \
43 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
48 # vim:set ts=2 sw=2 et: