# Contributor: Florian Pritz # Contributor: Abakus pkgname=blazeblogger-git pkgver=20090811 pkgrel=1 pkgdesc="is a simple-to-use but capable CMS for the command line" arch=('any') url="http://blaze.blackened.cz" license=('GPL') depends=('perl') makedepends=('git') conflicts=('blazeblogger') source=() md5sums=() _gitroot="git://gitorious.org/blazeblogger/mainline.git" _gitname="blazeblogger" build() { cd "$srcdir" msg "Connecting to GIT server...." if [ -d "mainline" ] ; then cd "mainline" && git pull origin msg "The local files are updated." else git clone $_gitroot fi msg "GIT checkout done or server timeout" msg "Starting make..." rm -rf "$srcdir/$_gitname-build" git clone "$srcdir/mainline" "$srcdir/$_gitname-build" cd "$srcdir/$_gitname-build" sed -i 's|/usr/bin/pod2man|pod2man|' Makefile || return 1 sed -i 's|/usr/bin/install|/bin/install|' Makefile || return 1 make prefix=$startdir/pkg/usr install }