updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / olive-svn / PKGBUILD~
blob0288e863485752acf9cfd311cb99418780760f97
1 # Contributor: Philipp Geyer <nistur@gmail.com>
2 pkgname=olive-svn
3 pkgver=87201
4 pkgrel=1
5 pkgdesc="Olive is a set of add-on libraries for the Mono core that bring some of the new .NET APIs to Mono"
6 arch=('i686')
7 license=('GPL')
8 makedepends=('subversion' 'pkgconfig')
9 url="http://www.mono-project.com/Olive"
10 source=('')
11 md5sums=('')
13 _svntrunk=svn://anonsvn.mono-project.com/source/trunk/olive
14 _svnmod=olive
15 build() {
16         cd ${startdir}/src
18         if [ -d ${_svnmod}/.svn ]; then
19                 (cd ${_svnmod} && svn up -r ${pkgver})
20         else
21                 svn co ${_svntrunk} --config-dir ./ ${_svnmod} 
22         fi
23         msg "SVN checkout done or server timeout"
24         msg "Starting make..."
25         
26         rm -rf ${startdir}/src/${_svnmod}-build
27         cp -r ${_svnmod} ${_svnmod}-build
28         cd ${startdir}/src/${_svnmod}-build
30         ./configure --prefix=/usr --with-moonlight
31         make || return 1
32         make DESTDIR=${startdir}/pkg/ install || return 1
33         rm -rf ${startdir}/src/${_svnmod}-build