updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / dmake-svn / PKGBUILD
blob4e73dc4abb1dad9a4525a17dddf6c2c6ddfe15e0
1 # Maintainer: Can Celasun <dcelasun[at]gmail[dot]com>
2 pkgname=dmake-svn
3 pkgver=277090
4 pkgrel=1
5 pkgdesc='A make utility similar to GNU make (latest svn revision)'
7 arch=('i686' 'x86_64')
8 url='http://tools.openoffice.org/dmake/index.html'
9 license=('custom')
10 provides=('dmake')
11 makedepends=('make' 'subversion')
13 _svntrunk=svn://svn.services.openoffice.org/ooo/trunk/dmake
14 _svnmod=dmake
16 build() {
17   if [ -d $_svnmod/.svn ]; then
18     (cd $_svnmod && svn up -r $pkgver)
19   else
20     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
21   fi
22   
23   cd $srcdir/$_svnmod
24   ./configure
25   make || return 1
26   make DESTDIR="$pkgdir" install || return 1