blob: 546183321b5bab19326d6cea97fc7e78b1158932 (
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
34
35
36
37
|
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
_name=Ratatouille.lv2
pkgname=${_name,,}
pkgver=0.9.4
pkgrel=1
pkgdesc='A guitar amp neural model and impulse response loader and mixer LV2 plugin'
arch=(aarch64 x86_64)
url="https://github.com/brummer10/$_name"
license=(BSD-3-Clause)
groups=(lv2-plugins pro-audio)
depends=(cairo fftw glibc gcc-libs libsndfile libx11)
makedepends=(lv2 xxd)
checkdepends=(lv2lint)
optdepends=('lv2-host: for loading the LV2 plugin')
source=("https://github.com/brummer10/$_name/releases/download/v$pkgver/$_name-v$pkgver-src.tar.xz")
sha256sums=('35a76c1a0dce92a1c2bc772f17bf960797f07c9d2bfd6dbb3fefe8c9064f551f')
_plugin_uri="urn:brummer:ratatouille"
build() {
cd $_name-v$pkgver
make
}
check() {
cd $_name-v$pkgver
lv2lint -M pack -s '_Z*' -I bin/$_name "$_plugin_uri"
}
package() {
depens+=(libcairo.so libfftw3f.so libsndfile.so)
cd $_name-v$pkgver
make DESTDIR="$pkgdir" install
install -vDm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
install -vDm 644 README.md Ratatouille.png -t "$pkgdir"/usr/share/doc/$pkgname
}
|