void-packages/srcpkgs/bitwig-studio/template

30 lines
762 B
Bash

# Template file for 'bitwig-studio'
pkgname=bitwig-studio
version=4.0.1
revision=1
archs="x86_64"
depends="xdg-utils xcb-util-wm libbsd"
short_desc="DAW for music production, remixing and live performance"
maintainer="Alessandro Saglia <ale.saglia@gmail.com>"
license="custom:bitwig"
homepage="https://bitwig.com/"
_file="bitwig-studio-${version}.deb"
distfiles="https://downloads.bitwig.com/stable/${version}/${_file}"
checksum=ca10802a56cb8f2072c244986356aa6d41859401c12d1f20f313c322aa142199
nostrip=yes
restricted=yes
repository=nonfree
do_extract() {
mkdir -p ${DESTDIR}
ar x ${XBPS_SRCDISTDIR}/bitwig-studio-${version}/${_file}
}
do_install() {
bsdtar -xf data.tar.xz -C ${DESTDIR}
}
post_install() {
vlicense ${DESTDIR}/opt/bitwig-studio/EULA.rtf
}