1 # Contributor: Florian Pritz <bluewind@xssn.at>
2 # Contributor: Abakus <java5@arcor.de>
3 pkgname=blazeblogger-git
6 pkgdesc="is a simple-to-use but capable CMS for the command line"
8 url="http://blaze.blackened.cz"
12 conflicts=('blazeblogger')
16 _gitroot="git://gitorious.org/blazeblogger/mainline.git"
21 msg "Connecting to GIT server...."
23 if [ -d "${_gitname}" ] ; then
24 cd "${_gitname}" && git pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/mainline" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 sed -i 's|/usr/bin/pod2man|pod2man|' Makefile || return 1
38 sed -i 's|/usr/bin/install|/bin/install|' Makefile || return 1
39 make prefix=$startdir/pkg/usr install