updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nnls-chroma / PKGBUILD
blobf5022ef280954dcac5d05e0d7dc62404a5549883
1 # Maintainer: orbisvicis <''.join(chr(ord(c)-1) for c in "pscjtwjdjtAhnbjm/dpn")>
2 pkgname=nnls-chroma
3 pkgver=0.2.1
4 pkgrel=1
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/"
8 license=("GPL")
9 depends=("vamp-plugin-sdk")
10 install="${pkgname}.install"
11 source=("http://isophonics.net/sites/isophonics.net/files/${pkgname}-${pkgver}.tgz"
12         "${pkgname}.install")
13 sha256sums=("7a87638f34b995df4553d70eb4b131066ad2c718a84275513ffd0479e53fe370"
14             "af65c235bd31317853d40d88f37a31830e665d3f634aecc060ee24754502cf17")
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
19   sed -i 's/\S*vamp-sdk.a\S*/-lvamp-sdk/p' Makefile.linux
20   make -f Makefile.linux
23 package() {
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: