bitwig-studio: don't manually extract deb

This commit is contained in:
classabbyamp 2022-11-10 03:28:38 -05:00 committed by classabbyamp
parent c18090b458
commit 32c8249840

View file

@ -8,22 +8,14 @@ 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}"
distfiles="https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb"
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
vcopy opt /
vcopy usr /
vlicense ${DESTDIR}/opt/bitwig-studio/EULA.txt
}