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=4.4.10
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=('0516e8c550e5ab058bea08df42c4368620659e5a532980e152735c701141806b742575f3ab965099956e54a4a3f40b97c3572051b0f02064bda9964527871257')
b2sums=('c2cc2f40fe00c695d11c80bf0d8eef70ec302a21617447cbb5d9d2de320af5cc3e220de30fc2a0dbcc426a7ccd0790bcdf2d02c49c3eedbe0bff302665da2ea1')
package() {
bsdtar \
--extract \
--file data.tar.xz \
--directory "$pkgdir"
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/opt/$pkgname/EULA.txt"
}