void-packages/srcpkgs/parsec/template
2019-04-04 14:08:28 -03:00

26 lines
863 B
Bash

# Template file for 'parsec'
pkgname=parsec
version=147.9
revision=1
archs="x86_64"
build_style=fetch
depends="libgcc 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() {
tar 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/
}