blob: bd80996fbb7d6a9105ce5c63de90c2bef0e11c90 (
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
|
pkgname=ahm5050-amp-bin
pkgver=3.0.0
pkgrel=2
pkgdesc="Audio Assault Dual Amp Sim"
arch=('x86_64')
url="https://audioassault.mx/collections/plugins/products/ahm-5050"
license=('EULA')
groups=('pro-audio' 'vst-plugins')
depends=('libcurl-gnutls' 'glibc')
makedepends=('xdg-user-dirs' 'unzip')
source=('AHM5050v3 Amp.desktop')
sha256sums=('7f9d1acb679623c1ada004673c80b4ef9bfc655e994af5bfc27e6094406190d5')
prepare () {
## Extract AIR Impulse Response
_archive="`xdg-user-dir DOWNLOAD`/AHMv3.zip"
ln -srf "${_archive}" "$srcdir/`basename "${_archive}"`"
unzip "$srcdir/`basename "${_archive}"`"
}
package() {
## Install Preset and Default Libraries
mkdir -p "$pkgdir/opt/Audio Assault/AHM5050"/{IRs,Presets} "$pkgdir/usr/bin" "$pkgdir/usr/share/applications"
cp -rf $srcdir/AHM5050v3\ Linux/AHM5050/IRs/*.wav "$pkgdir/opt/Audio Assault/AHM5050/IRs"
cp -rf $srcdir/AHM5050v3\ Linux/AHM5050/Presets/*.preset "$pkgdir/opt/Audio Assault/AHM5050/Presets/"
## Install VST Plugin
install -Dm755 "$srcdir/AHM5050v3 Linux/AHM 5050 v3 vst2.so" "$pkgdir/usr/lib/vst/AHM 5050 v3.so"
## Install Standalone Binary
cp "$srcdir/AHM5050v3 Linux/AHM 5050 v3 Standalone" "$pkgdir/usr/bin/AHM 5050 v3 Standalone"
chmod +x "$pkgdir/usr/bin/AHM 5050 v3 Standalone"
install -Dm644 "$srcdir/AHM5050v3 Amp.desktop" "$pkgdir/usr/share/applications/AHM5050v3 Amp.desktop"
}
|