File PKGBUILD of Package rubberband
pkgname=rubberband
pkgver=4.0.0
pkgrel=18.1
pkgdesc="Rubber Band audio time-stretching and pitch-shifting library"
arch=('x86_64')
url="https://www.breakfastquay.com/rubberband/"
license=('GPL2')
makedepends=('meson' 'ninja' 'curl' 'dbus-broker-units'
'ladspa' 'lv2' 'vamp-plugin-sdk')
depends=('gcc-libs' 'glibc' 'fftw' 'libsamplerate' 'libsndfile')
provides=('librubberband.so')
source=("${pkgname}-${pkgver}.tar.bz2")
sha512sums=('SKIP')
build() {
cd "${pkgname}-${pkgver}"
meson --prefix=/usr \
-Dfft=fftw \
-Dresampler=libsamplerate \
-Djni=disabled \
build
ninja -C build
}
package() {
cd "${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" \
meson install -C build
install -vDm 644 {CHANGELOG,README.md} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
}