# Maintainer: Florian Pritz # Contributor: Abakus pkgname=blazeblogger-git pkgver=20100822 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="mainline" build() { cd "$srcdir" msg "Connecting to GIT server...." if [ -d "${_gitname}" ] ; then cd "${_gitname}" && 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 sed -i 's|/usr/bin/install|/bin/install|' Makefile make prefix=$pkgdir/usr install }