parsec: don't manually extract deb

also appease xlint
This commit is contained in:
classabbyamp 2022-11-11 02:12:21 -05:00 committed by classabbyamp
parent 36d4af6d68
commit 471e935af1

View file

@ -3,24 +3,23 @@ pkgname=parsec
version=150.28
revision=2
archs="x86_64"
build_style=fetch
create_wrksrc=yes
depends="libgcc virtual?libGL libSM libsndio libstdc++ libX11 libXxf86vm"
short_desc="Low latency proprietary game streaming application"
maintainer="Kozova1 <mug66kk@gmail.com>"
license="Proprietary"
homepage="https://parsecgaming.com"
license="custom:Proprietary"
homepage="https://parsec.app"
distfiles="https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb"
checksum=0c7207f419377fc35e30448acd00d8701300ac5a44936ac6d87a468c9afccdc1
nopie=yes
restricted=yes
do_extract() {
ar x "${XBPS_SRCDISTDIR}/${pkgname}-${version}/parsec-linux.deb"
}
do_install() {
bsdtar xf "data.tar.xz" -C ${DESTDIR}
vcopy usr /
vmkdir usr/lib/parsec
mv ${DESTDIR}/usr/share/parsec/skel/parsecd-150-28.so ${DESTDIR}/usr/lib/parsec/parsecd-150-28.so
ln -rs ${DESTDIR}/usr/lib/parsec/parsecd-150-28.so ${DESTDIR}/usr/share/parsec/skel/
echo 'see https://unity.com/legal/parsec-additional-terms' > EULA
vlicense EULA
}