1 # Maintainer: orbisvicis <''.join(chr(ord(c)-1) for c in "pscjtwjdjtAhnbjm/dpn")>
6 pkgdesc="An instrument editor for gigasampler files"
8 url="http://www.linuxsampler.org/"
10 depends=("gtkmm3" "linuxsampler-svn")
11 makedepends=("subversion" "intltool" "docbook-xsl")
15 _svntrunk="https://svn.linuxsampler.org/svn/${_pkg}/trunk"
21 if [[ -d "$_svnmod/.svn" ]]; then
22 (cd "$_svnmod" && svn up -r "$pkgver")
24 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
27 msg "SVN checkout done or server timeout"
28 msg "Starting build..."
30 rm -rf "${srcdir}/${_svnmod}-build"
31 cp -a "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
32 cd "${srcdir}/${_svnmod}-build"
39 ./configure --prefix=/usr --disable-static
44 local _svndir="${srcdir}/${_svnmod}-build"
45 . <(sed -n "s|^\s*\(${_pkg^^}_VER_[^[:blank:]]\{1,\}\)\s*=\s*\([[:digit:]]\{1,\}\).*$|_\1=\2|p" "${_svndir}/configure.ac")
46 provides=("${_pkg}=${_GIGEDIT_VER_MAJOR}.${_GIGEDIT_VER_MINOR}.${_GIGEDIT_VER_RELEASE}" "${_pkg}-cvs")
47 conflicts=("${_pkg}" "${_pkg}-cvs")
50 make DESTDIR=$pkgdir install
53 # vim:set ts=2 sw=2 et: