# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ladspa pkgver=1.13 pkgrel=0 pkgdesc="Linux Audio Developer's Simple Plug-in API, examples and tools" url="http://www.ladspa.org/" arch="all" license="LGPLv2+" depends="" makedepends="" install="" subpackages="$pkgname-dev" source="http://www.ladspa.org/download/ladspa_sdk_$pkgver.tgz 0001-proper-build.patch 0002-plugin-constructor-destructor.patch 0003-plugindir.patch " _builddir="$srcdir"/ladspa_sdk prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make -C src targets || return 1 } package() { cd "$_builddir" make -C src install DESTDIR="$pkgdir" || return 1 } md5sums="671be3e1021d0722cadc7fb27054628e ladspa_sdk_1.13.tgz 0e834af5f341081b772848ed3a753d5d 0001-proper-build.patch 4b5c8831519e7485f2dacc5663375872 0002-plugin-constructor-destructor.patch 95943ab38a96051ff4a6caf33182634c 0003-plugindir.patch"