summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f8b506d1cf699af47b945c5bd0914ff2b014de36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Contributor: Benoit Favre <benoit.favre@lif.univ-mrs.fr>

pkgname=vampy
pkgver=2.3
pkgrel=1
pkgdesc="Wrapper plugin that enables you to use Python Vamp in any Vamp host."
arch=('x86_64'
      'i686'
      'pentium4')
url="https://code.soundsoftware.ac.uk/projects/pyin"
_url="https://gitlab.com/tallero/vampy"
_sdk_url="https://github.com/c4dm/vamp-plugin-sdk"
license=('GPL')
depends=(vamp-plugin-sdk python python2 python-numpy python2-numpy)
source=("git+$_url")
md5sums=('SKIP') 

build() {
	cd $pkgname
        git clone $_sdk_url
        cd "vamp-plugin-sdk"
        ./configure
        make -j3
        cd .. &&
	make LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib CPPFLAGS="-Wno-error=register" -f Makefile.linux
}

package() {
	cd $pkgname
	install -Dm755 vampy.so "$pkgdir/usr/lib/vampy.so"
}