updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mango-svn / PKGBUILD
blob89057f75cb17991dc50915f9584bfabd1da997f1
1 # author: MrSunshine
2 pkgname=mango-svn
3 pkgver=1122
4 pkgrel=1
5 pkgdesc="Mango is a collection of D packages with an orientation toward network programming. Mango extends the Tango library in a number of useful ways by supplementing with XML, clustering, a servlet engine, and an HTTP server."
6 arch=('i686' 'x86_64')
7 url="http://www.dsource.org/projects/ldc"
8 license=('BSD')
9 #depends=()
10 makedepends=('ldc' 'subversion' 'dsss')
11 #provides=()
12 #conflicts=()
13 source=(ldc-fix.patch)
14 #install=(${pkgname}.install)
15 md5sums=('69e97251f942ded00bbaf55dbef95489') 
17 _svntrunk=http://svn.dsource.org/projects/mango/trunk
18 _svnmod=mango
20 build() {
21         cd $srcdir
23         if [ -d ${_svnmod} ]; then
24                 cd ${startdir}/src/${_svnmod}
25                 svn up
26         else
27                 svn co ${_svntrunk} ${_svnmod} || return 1
28         fi
30         cd ${startdir}/src/${_svnmod}
32         patch -t -N -p0 -i ${startdir}/ldc-fix.patch
33         dsss build
35         dsss install --prefix=$startdir/pkg/usr
37         chmod +r ${startdir}/pkg/usr/share/dsss/manifest/mango.manifest