updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / ddbi-svn / PKGBUILD
blobb0451c4781a56fc2871157eee603edbd38cd4c14
1 # author: MrSunshine
2 pkgname=ddbi-svn
3 pkgver=100
4 pkgrel=1
5 pkgdesc="D DBI is a database independent interface for the D programming language."
6 arch=('i686' 'x86_64')
7 url="http://www.dsource.org/projects/ldc"
8 license=('BSD')
9 depends=('libmysqlclient')
10 makedepends=('ldc' 'subversion' 'dsss')
11 #provides=()
12 #conflicts=()
13 source=()
14 #install=(${pkgname}.install)
15 md5sums=() 
17 _svntrunk=http://svn.dsource.org/projects/ddbi/trunk
18 _svnmod=ddbi
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         dsss build -version=dbi_mysql
34         dsss install --prefix=$startdir/pkg/usr
36         chmod +r ${startdir}/pkg/usr/share/dsss/manifest/dbi.manifest