void-packages/srcpkgs/parsec/template

27 lines
863 B
Bash

# Template file for 'parsec'
pkgname=parsec
version=150.28
revision=2
archs="x86_64"
build_style=fetch
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"
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}
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/
}