void-packages/srcpkgs/parsec/template

29 lines
908 B
Bash

# Template file for 'parsec'
pkgname=parsec
version=150.93b
revision=2
archs="x86_64"
depends="virtual?libudev libssl3 libX11 libXcursor libXi libSM virtual?libGL libglvnd
alsa-lib libjpeg-turbo libpng libcurl libavcodec libXrandr"
short_desc="Low latency proprietary game streaming application"
maintainer="Kozova1 <mug66kk@gmail.com>"
license="custom:Proprietary"
homepage="https://parsec.app"
# use archive.org to have a consistent URL
distfiles="https://web.archive.org/web/20240329180120/https://builds.parsec.app/package/parsec-linux.deb"
checksum=c1fb1ab9032e6e718a19f2fd73465e7b98379e7d1e1273856a540d2f7778c1e1
restricted=yes
nostrip=yes
do_install() {
vmkdir usr
vcopy bin usr
vcopy share usr
vmkdir usr/lib
mv "$DESTDIR"/usr/share/parsec "$DESTDIR"/usr/lib
ln -s ../lib/parsec ${DESTDIR}/usr/share/parsec
echo 'see https://unity.com/legal/parsec-additional-terms' > EULA
vlicense EULA
}