blob: 2c8139e4eb8e9b8384a7d89e683f449e67f1b266 (
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
|
pkgname=air-impulse-loader-bin
pkgver=20220828
pkgrel=1
pkgdesc="Audio Assault AIR Impulse Response Loader Rack"
arch=('x86_64')
url="https://audioassault.mx/collections/plugins/products/air-impulse-rackhttps://audioassault.mx/collections/plugins/products/air-impulse-rack"
license=('EULA')
groups=('pro-audio' 'vst-plugins' 'vst3-plugins')
depends=('libcurl-gnutls' 'glibc')
makedepends=('xdg-user-dirs' 'unzip')
source=("aIR Impulse Rack.desktop")
sha256sums=('fdb5066a6cf4d394a278d46d0c693db48c79d0e6a3427eb2b8af43a2d326bebb')
prepare () {
## Extract AIR Impulse Response
_archive="`xdg-user-dir DOWNLOAD`/air202.zip"
ln -srf "${_archive}" "$srcdir/`basename "${_archive}"`"
unzip "$srcdir/`basename "${_archive}"`"
find $srcdir -name ".DS_Store" -delete
}
package() {
## Install Preset and Default Libraries
mkdir -p "$pkgdir/opt/Audio Assault/aIR Data" "$pkgdir/usr/bin" "$pkgdir/usr/share/applications"
cp -rf "$srcdir/Linux_202/aIR Data"/{"Default IRs",IRlinks,Presets} "$pkgdir/opt/Audio Assault/aIR Data"
## Install VST Plugin
install -Dm755 "$srcdir/Linux_202/aIR Impulse Rack VST2.so" "$pkgdir/usr/lib/vst/aIR Impulse Rack.so"
## Install VST3 Plugin
install -Dm755 "$srcdir/Linux_202/aIR Impulse Rack.vst3/Contents/x86_64-linux/aIR Impulse Rack.so" "$pkgdir/usr/lib/vst3/aIR Impulse Rack.vst3/Contents/x86_64-linux/aIR Impulse Rack.so"
## Install Standalone Binary
cp "$srcdir/Linux_202/aIR Impulse Rack Standalone" "$pkgdir/usr/bin/aIR Impulse Rack Standalone"
chmod +x "$pkgdir/usr/bin/aIR Impulse Rack Standalone"
install -Dm644 "$srcdir/aIR Impulse Rack.desktop" "$pkgdir/usr/share/applications/aIR Impulse Rack.desktop"
}
|