blob: 778f691d5b201146cf51e765518ba8d86acc6d54 (
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=headcrusher-amp-bin
pkgver=1.1.0
pkgrel=1
pkgdesc="Audio Assault Analog Modeled Saturator"
arch=('x86_64')
url="https://audioassault.mx/collections/plugins/products/headcrusher"
license=('EULA')
groups=('pro-audio' 'vst-plugins')
depends=('libcurl-gnutls' 'glibc')
makedepends=('xdg-user-dirs' 'unzip')
source=("Head Crusher Amp.desktop")
sha256sums=('893323a323a5ec22e8807970d6b08b2622eed7891c196f3123682fcc18634e95')
prepare () {
## Extract AIR Impulse Response
_archive="`xdg-user-dir DOWNLOAD`/HeadCrusherv2_u1_1.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/HeadCrusherv2" "$pkgdir/usr/bin" "$pkgdir/usr/share/applications"
cp -rf $srcdir/Head\ Crusher\ v2\ Linux/HeadCrusherv2/* "$pkgdir/opt/Audio Assault/HeadCrusherv2/"
## Install VST Plugin
install -Dm755 "$srcdir/Head Crusher v2 Linux/Head Crusher v2.so" "$pkgdir/usr/lib/vst/Head Crusher v2.so"
## Install Standalone Binary
cp "$srcdir/Head Crusher v2 Linux/Head Crusher v2 Jack" "$pkgdir/usr/bin/Head Crusher v2 Jack"
chmod +x "$pkgdir/usr/bin/Head Crusher v2 Jack"
install -Dm644 "$srcdir/Head Crusher Amp.desktop" "$pkgdir/usr/share/applications/Head Crusher Amp.desktop"
}
|