blob: 7d31abb4ed62e7fd0caa7d3afce90d2672d07669 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
pkgname=mixbus32c9
pkgver=9.2.172
pkgrel=2
pkgdesc="Harrison Consoles Mixbus 32C DAW (Version 9)"
arch=('x86_64')
url="https://store.harrisonaudio.com/all-products/mixbus32c"
license=('EULA')
groups=('pro-audio')
depends=('cairo' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libsigc++' 'libx11' 'libxext' 'sh' 'taglib' 'libcurl-gnutls' 'dbus' 'fftw' 'fluidsynth' 'fontconfig' 'glib2' 'glibmm' 'jack' 'libarchive' 'liblo' 'libpulse' 'liblrdf' 'libltc' 'libpng' 'libsamplerate' 'libsndfile' 'libusb' 'libwebsockets' 'libxml2' 'lilv' 'pango' 'pangomm' 'readline' 'rubberband' 'vamp-plugin-sdk')
makedepends=('xdg-user-dirs')
optdepends=('avldrums.lv2: AVLinux drumkits'
'gmsynth.lv2: General MIDI LV2 Synth'
'setbfree-lv2: Tonewheel organ'
'x42-plugins-lv2: Set of plugins and utilities from the X42 Project')
source=("https://s3.eu-west-1.amazonaws.com/eu1.download.solidstatelogic.com/Harrison/Mixbus32C-${pkgver}-x86_64.run")
sha256sums=('cf652a78a15cb7e33c465ca98ff60dc2b064a46c7e4bf8a1de5c6ea6c9a3b235')
## Variables
_installer="Mixbus32C-${pkgver}-x86_64"
_app="Mixbus32C_x86_64-$pkgver"
package() {
## Create Install Directories
mkdir -p "$pkgdir/opt/$pkgname" "$pkgdir/usr/share/applications"
## Extract Installer
sh "$srcdir/`basename ${_installer}`.run" --tar xf
## Extract Bundle
tar -xvf "$srcdir/`basename ${_app}`.tar"
## Remove LV2 Plugins Provided in Archlinux Repos
rm -r "$srcdir/`basename ${_app}`/lib/LV2/avldrums.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/b_synth.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/b_whirl.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/dpl.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/fat1.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/fil4.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/gmsynth.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/meters.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/midifilter.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/stereoroute.lv2"
rm -r "$srcdir/`basename ${_app}`/lib/LV2/tuna.lv2"
## Remove Uninstall Script
rm -r "$srcdir/`basename ${_app}`/bin/Mixbus32C-${pkgver}.uninstall.sh"
## Install Mixbus 32C
cp -r "$srcdir/`basename ${_app}`/"* "$pkgdir/opt/$pkgname"
## Install Desktop File
echo "[Desktop Entry]" > "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Encoding=UTF-8" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Version=1.0" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Type=Application" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Terminal=false" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Exec=/opt/$pkgname/bin/$pkgname" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Name=Harrison Mixbus 32C Version 9" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Icon=/opt/$pkgname/share/resources/Mixbus32C-icon_256px.png" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Comment=Digital Audio Workstation" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
echo "Categories=AudioVideo;AudioEditing;Audio;Recorder;" >> "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
## Change permissions of desktop file
chmod 644 "$pkgdir/usr/share/applications/Harrison Mixbus 32C Version 9.desktop"
}
|