updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / clunk-svn / PKGBUILD
blob9f20d3565e7e3f6337e69d87c0c75df299501fe6
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 pkgname=clunk-svn
3 pkgver=112
4 pkgrel=1
5 pkgdesc="open-source C++ library for real-time 3D sound generation"
6 arch=('i686' 'x86_64')
7 url='http://media.netive.ru/clunk/'
8 license=('LGPL')
9 depends=('sdl' 'sdl_mixer')
10 makedepends=('scons')
11 optdepends=('doxygen: generate API docs')
12 conflicts=('clunk')
13 provides=('clunk')
14 source=()
15 md5sums=()
17 _svntrunk=https://clunk.svn.sourceforge.net/svnroot/clunk/trunk
18 _svnmod=trunk
20 build() {
21   cd ${srcdir}
23   if [ -d ${_svnmod}/.svn ]; then
24     (cd ${_svnmod} && svn up -r ${pkgver})
25   else
26     svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
27   fi
29   msg "SVN checkout done or server timeout"
30   msg "Starting make..."
32   cp -r ${_svnmod} ${_svnmod}-build
33   cd ${_svnmod}-build
35   scons || return 1
36   install -Dm755 libclunk.so ${pkgdir}/usr/lib/libclunk.so
38   rm -rf ${srcdir}/$_svnmod-build