arch-pkgs/bitwig-studio/PKGBUILD

40 lines
1.2 KiB
Bash

# Maintainer: George Rawlinson <grawlinson@archlinux.org>
# Contributor: Aleksej Komarov <stylemistake@gmail.com>
# Upstream: Bitwig GmbH <support@bitwig.com>
pkgname=bitwig-studio
pkgver=5.0.4
pkgrel=1
pkgdesc='Digital audio workstation for music production, remixing and live performance'
arch=('x86_64')
url='https://www.bitwig.com'
license=('custom:bitwig')
groups=('pro-audio')
depends=(
'gtk3'
'libxkbcommon-x11'
'xcb-util'
'xcb-util-wm'
)
optdepends=(
'alsa-lib: alsa audio backend'
'ffmpeg: mp3 support'
'jack: jack audio backend'
'pipewire: pipewire audio backend'
'pulseaudio: pulseaudio audio backend'
)
provides=('vst-host' 'vst3-host' 'clap-host')
options=('!strip')
source=("$pkgname-$pkgver.deb::https://downloads.bitwig.com/stable/$pkgver/$pkgname-$pkgver.deb")
sha512sums=('73ec372bcc2b451ad6778d810b322a76d6bda46a616c2c2f98fa61f301186234227b3bda13b2e24d8c8c675ee0db5de278fcf2fcfb35a84384fc78c96f02726e')
b2sums=('8f42bc5bdc886c01bc10ba1d8b0c0026eeb7dd392253daf44bea447423464037b77989c75f9ad40230fc1c12ed20cf1642370829493d5c1f04b94b48273f6f04')
package() {
bsdtar \
--extract \
--file data.tar.xz \
--directory "$pkgdir"
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/opt/$pkgname/EULA.txt"
}