void-packages/srcpkgs/parsec/template

27 lines
874 B
Bash

# Template file for 'parsec'
pkgname=parsec
version=147.9
revision=1
archs="x86_64"
build_style=fetch
depends="libgcc virtual?libGL libglib-static 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=beed951ebee0189e8c22aa3d9190e1ddc7691c4703379e146a8b812c21b3a273
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-147-9.so ${DESTDIR}/usr/lib/parsec/parsecd-147-9.so
ln -rs ${DESTDIR}/usr/lib/parsec/parsecd-147-9.so ${DESTDIR}/usr/share/parsec/skel/
}