updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / apache-forrest-svn / PKGBUILD
blob77f3068427cd295d62ae2b2df3abb41a17fdbdff
1 # Contributor: Matías Hernández <msdark@archlinux.cl>
2 pkgname=apache-forrest-svn
3 pkgver=925704
4 pkgrel=1
5 pkgdesc="A publishing framework that transforms input from various sources into a unified presentation in one or more output formats."
6 arch=(i686)
7 url="http://forrest.apache.org/"
8 license=('GPL')
9 groups=()
10 depends=()
11 makedepends=('subversion')
12 provides=(forrest)
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 #source=($pkgname-$pkgver.tar.gz)
19 noextract=()
20 #md5sums=() #generate with 'makepkg -g'
22 _svntrunk=http://svn.apache.org/repos/asf/forrest/trunk
23 _svnmod=forrest
25 build() {
26   cd "$srcdir"
28   if [ -d $_svnmod/.svn ]; then
29     (cd $_svnmod && svn up -r $pkgver)
30   else
31     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32   fi
34   msg "SVN checkout done or server timeout"
35   msg "Starting make..."
37   rm -rf "$srcdir/$_svnmod-build"
38   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
39   cd "$srcdir/$_svnmod-build"
41   #
42   # BUILD
43   #
44   cd main
45   ./build.sh