1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications."
9 url="http://drobilla.net/software/${_pkg}/"
10 license=("custom:ISC")
11 depends=("lv2core" "sord>=0.5.0" "sord<1.0.0" "python2")
12 makedepends=("subversion" "python" "swig" "lv2core" "lv2-dyn-manifest")
13 optdepends=("bash-completion: auto-complete words")
16 _svntrunk="http://svn.drobilla.net/lad/trunk/${_pkg}"
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"
39 export PYTHON="/usr/bin/python2"
42 sed -i "/ldconfig/d" wscript
44 python ./waf configure --prefix=/usr \
46 --mandir=/usr/share/man \
53 local _svndir="${srcdir}/${_svnmod}-build"
54 . <(egrep "^${_pkg^^}.*VERSION[ =]*'[.0-9]*'" "${_svndir}/wscript" | tr -d ' ' | sed 's/^/_/')
55 provides=("${_pkg}=${_LILV_VERSION}")
56 conflicts=("${_pkg}>=${_LILV_MAJOR_VERSION}.0.0")
59 DESTDIR="$pkgdir" python ./waf install
62 install -m755 -d "${pkgdir}/usr/share/licenses/${_pkg}"
63 install -m644 -t "${pkgdir}/usr/share/licenses/${_pkg}" COPYING
66 # vim:set ts=2 sw=2 et: