summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2df2dafa3e07a0195e135c15d2cc09ec2efa463e (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
33
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>

_pkgname=vampy-host
pkgname="${_pkgname}-git"
pkgver=v1.0.2+12+gb43546b
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://github.com/c4dm/${_pkgname}"
_sdk_url="https://github.com/c4dm/vamp-plugin-sdk"
license=('GPL')
depends=(vamp-plugin-sdk python python2)
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+${_url}")
sha256sums=(
  'SKIP'
  ) 

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

package() {
	cd "${_pkgname}"
        git clone "${_sdk_url}"
        python setup.py build_ext
        python3 setup.py install --root="${pkgdir}" --optimize=1
}