diff options
author | Nils Werner | 2015-06-11 11:12:35 +0200 |
---|---|---|
committer | Nils Werner | 2015-06-11 11:14:51 +0200 |
commit | 74ce1891a03b0e57cfe8f509c1ff0ff3b11dd510 (patch) | |
tree | a714b3164ff41a2c957c5308e23700702640f2b7 | |
download | aur-74ce1891a03b0e57cfe8f509c1ff0ff3b11dd510.tar.gz |
Initial commit for AUR4
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6a38a1d21d72 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = essentia + pkgdesc = Open-source C++ library for audio analysis and audio-based music information retrieval + pkgver = 2.0.1 + pkgrel = 2 + url = http://essentia.upf.edu/ + arch = x86_64 + license = GPL + depends = python2 + depends = python2-numpy + depends = libyaml + depends = python2-yaml + depends = fftw + depends = ffmpeg + depends = taglib + depends = libsamplerate + source = https://github.com/MTG/essentia/archive/2.0.1.zip + md5sums = 026b2f1b1c120f6cf5b1998e4262521b + +pkgname = essentia diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..575062bcfba8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Nils Werner <nils DOT werner AT gmail DOT com> +pkgname='essentia' +pkgver=2.0.1 +pkgrel=2 +pkgdesc="Open-source C++ library for audio analysis and audio-based music information retrieval" +url="http://essentia.upf.edu/" +arch=('x86_64') +license=('GPL') +depends=('python2' 'python2-numpy' 'libyaml' 'python2-yaml' 'fftw' 'ffmpeg' 'taglib' 'libsamplerate') +source=(https://github.com/MTG/essentia/archive/$pkgver.zip) +md5sums=('026b2f1b1c120f6cf5b1998e4262521b') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + PYTHON=/usr/bin/python2 python2 waf configure --mode=release --with-python --with-vamp --prefix=/usr/ + PYTHON=/usr/bin/python2 python2 waf --prefix=/usr/ +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + PYTHON=/usr/bin/python2 DESTDIR=$pkgdir python2 waf install --prefix=/usr/ || return 1 +} |