# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=vamp-sdk
pkgver=2.10.0
pkgrel=0
pkgdesc="SDK for developing Vamp audio analysis plugins"
url="https://vamp-plugins.org/develop.html"
arch="all"
options="!check"  # No test suite.
license="BSD-3-Clause AND MIT"
depends=""
makedepends="libsndfile-dev"
subpackages="$pkgname-dev"
source="https://distfiles.apkfission.net/src/vamp-plugin-sdk-$pkgver.tar.gz"
#source="https://code.soundsoftware.ac.uk/attachments/download/2691/vamp-plugin-sdk-$pkgver.tar.gz"
builddir="$srcdir/vamp-plugin-sdk-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="153b7f2fa01b77c65ad393ca0689742d66421017fd5931d216caa0fcf6909355fff74706fabbc062a3a04588a619c9b515a1dae00f21a57afd97902a355c48ed  vamp-plugin-sdk-2.10.0.tar.gz"