blob: 8f8b81c5bd5eda62bb0bdbdb1fa9cbfa6e9a01ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Florian Pritz <bluewind@xssn.at>
# Contributor: Abakus <java5@arcor.de>
pkgname=blazeblogger-git
pkgver=20100628
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
}
|