1 # Maintainer: orbisvicis <''.join(chr(ord(c)-1) for c in "pscjtwjdjtAhnbjm/dpn")>
5 pkgdesc="Vamp plugin library for harmony and chord extraction using Non-Negative Least Squares"
6 arch=("i686" "x86_x64")
7 url="http://isophonics.net/nnls-chroma/"
9 depends=("vamp-plugin-sdk")
10 install="${pkgname}.install"
11 source=("http://isophonics.net/sites/isophonics.net/files/${pkgname}-${pkgver}.tgz"
13 sha256sums=("7a87638f34b995df4553d70eb4b131066ad2c718a84275513ffd0479e53fe370"
14 "af65c235bd31317853d40d88f37a31830e665d3f634aecc060ee24754502cf17")
17 cd "${srcdir}/${pkgname}-${pkgver}"
19 sed -i 's/\S*vamp-sdk.a\S*/-lvamp-sdk/p' Makefile.linux
20 make -f Makefile.linux
24 cd "${srcdir}/${pkgname}-${pkgver}"
26 install -m755 -d "${pkgdir}/usr/lib/vamp"
27 install -m755 -t "${pkgdir}/usr/lib/vamp" "${pkgname}.so"
28 install -m644 -t "${pkgdir}/usr/lib/vamp" "${pkgname}."{cat,n3} chord.dict
30 install -m755 -d "${pkgdir}/usr/share/${pkgname}"
31 install -m644 -t "${pkgdir}/usr/share/${pkgname}" README
34 # vim:set ts=2 sw=2 et: