1 # Maintainer: Oliver Weidner <Oliver dot Weidner at gmail dot com>
6 pkgdesc="plaintext based bugtracker"
8 url="http://github.com/hut/bugfree"
13 _gitroot="git://github.com/hut/bugfree.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
38 install -dm755 ${pkgdir}/usr/{bin,share/bugfree}
39 cp -r * ${pkgdir}/usr/share/bugfree/
40 ln -s /usr/share/bugfree/bf ${pkgdir}/usr/bin/bf