updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / libexds-svn / PKGBUILD
blob740c22cf20b5697a84e425a38a231ec59ff79a00
1 # Contributor: Imanol Celaya <ilcra1989@gmail.com>
3 pkgname=libexds-svn
4 pkgver=2161
5 pkgrel=4
6 pkgdesc="hese are generic data structures and other basic library routines built using the exception handling framework described in exception.h."
7 arch=('i686') # doesn't work on x86_64
8 url="http://www.tendra.org/browser/trunk/libexds/"
9 license=('BSD' 'custom')
10 makedepends=(bmake)
11 source=(LICENSE)
12 md5sums=('e5363c3cc19739fc080b5576e7a620fe')
14 _svntrunk=http://svn.tendra.org/trunk/
15 _svnmod=tendra
19 build() {
20   cd $srcdir
22   if [ -d $_svnmod/.svn ]; then
23     (cd $_svnmod && svn up -r $pkgver)
24   else
25     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26   fi
28   msg "SVN checkout done or server timeout"
29   msg "Starting make..."
31   rm -r $srcdir/$_svnmod-build
32   cp -r $_svnmod $_svnmod-build
33   cd $_svnmod-build/libexds
35   #
36   # BUILD
37   #
38   bmake || return 1
39   bmake PREFIX=$pkgdir/usr install ||return 1
40   install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/libexds-svn/license