1 # Maintainer: Peter Crighton <petecrighton@googlemail.com>
2 # Contributor: orbisvicis <orbisvicis@gmail.com>
7 pkgdesc="LinuxSampler Control Protocol (LSCP) wrapper library"
9 url="http://www.linuxsampler.org/"
12 makedepends=("subversion" "doxygen")
16 _svntrunk="https://svn.linuxsampler.org/svn/${_pkg}/trunk"
22 if [[ -d "$_svnmod/.svn" ]]; then
23 (cd "$_svnmod" && svn up -r "$pkgver")
25 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
28 msg "SVN checkout done or server timeout"
29 msg "Starting build..."
31 rm -rf "${srcdir}/${_svnmod}-build"
32 cp -a "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
33 cd "${srcdir}/${_svnmod}-build"
40 ./configure --prefix=/usr --disable-static
45 local _svndir="${srcdir}/${_svnmod}-build"
46 . <(sed -n "s|AM_INIT_AUTOMAKE(\s*\([^[:blank:],]\{1,\}\)\s*,\s*\([^[:blank:],]\{1,\}\)\s*)|_${_pkg^^}_NAME=\1\n_${_pkg^^}_VERSION=\2|p" "${_svndir}/configure.ac")
47 provides=("${_pkg}=${_LIBLSCP_VERSION}" "${_pkg}-cvs")
48 conflicts=("${_pkg}" "${_pkg}-cvs")
51 make DESTDIR=$pkgdir install
54 # vim:set ts=2 sw=2 et: