1 pkgname=libreaddata-svn
4 pkgdesc="A library to read data from diferent sources (file, memory...)"
6 url="http://code.google.com/p/libreaddata/"
9 makedepends=('gcc' 'subversion' 'cmake')
11 conflicts=('libreaddata')
12 provides=('libreaddata')
16 _svntrunk=https://libreaddata.googlecode.com/svn/trunk/
22 if [ -d "$_svnmod/.svn" ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 mkdir -p "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
35 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/$_svnmod/libreaddata"
40 cd "$srcdir/$_svnmod-build"
41 make DESTDIR="$pkgdir" install