PKGBUILDs/community/vamp-aubio-plugins/PKGBUILD
2015-12-11 02:43:39 +00:00

29 lines
887 B
Bash

# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - replace hardcoded x86 flags from Makefile.linux
pkgname=vamp-aubio-plugins
pkgver=0.5.0
pkgrel=2
pkgdesc="Onset detection, pitch tracking, note tracking and tempo tracking plugins using Paul Brossier's aubio library"
arch=("i686" "x86_64")
url="https://code.soundsoftware.ac.uk/projects/vamp-aubio-plugins"
license=("GPL2")
depends=("vamp-plugin-sdk" "aubio")
source=("http://aubio.org/pub/vamp-aubio-plugins/vamp-aubio-plugins-$pkgver.tar.bz2")
md5sums=('30dec2127a91a5fa29c45dbe54737456')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i "s/-msse -msse2 -mfpmath=sse/${CFLAGS}/" Makefile.linux
make -f Makefile.linux
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 vamp-aubio.so "$pkgdir/usr/lib/vamp/vamp-aubio.so"
}
# vim:set ts=2 sw=2 et: