updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / gnome-build-svn / PKGBUILD
blob0255f1bc733eec395e2fa64278bb36dfef0688ef
1 # Contributor: Arun Chaganty <arunchaganty@gmail.com>
2 pkgname=gnome-build-svn
3 pkgver=587
4 pkgrel=1
5 pkgdesc="The GNOME Build framework. SVN version"
6 arch=('i686' 'x86_64')
7 url="http://www.gnome.org/projects/devtools/"
8 license=('GPL')
9 #options=('!LIBTOOL')
10 provides=('gnome-build=0.3.0')
11 replaces=('gnome-build')
12 depends=('perl' 'perl-locale-gettext' 'gdl')
13 makedepends=('gettext' 'intltool' 'pkgconfig' 'subversion')
14 source=()
15 md5sums=()
16 _svntrunk=svn://svn.gnome.org/svn/gnome-build/trunk
17 _svnmod=gnome-build
19 build() {
20   if [ -d ${_svnmod}/.svn ]; then
21     (cd ${_svnmod} && svn up -r $pkgver)
22     else
23     svn co ${_svntrunk} --config-dir ./ -r $pkgver ${_svnmod} 
24   fi  
25   cd $startdir/src/${_svnmod}
26   ./autogen.sh --prefix=/usr 
27   ./configure --prefix=/usr
28   make || return 1
29   make DESTDIR=$startdir/pkg install