1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-09-19 12:03:18 +02:00

feat: pollymc

This commit is contained in:
Jozef Steinhübl 2024-03-29 12:00:33 +01:00
parent 425b2a9ddf
commit f1dd502d19
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/bash
exec /opt/pollymc/PollyMC

33
srcpkgs/pollymc/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'pollymc'
pkgname=pollymc
version=8.0
revision=1
archs="x86_64"
hostmakedepends=""
makedepends=""
depends="qt6-base qt6-widgets qt6-xml qt6-qt5compat"
short_desc="DRM-free Prism Launcher fork with support for custom auth servers."
maintainer="Jozef Steinhübl <xhyrom.hyro@gmail.com>"
license="GPL-3.0"
homepage="https://github.com/fn2006/PollyMC"
distfiles="https://github.com/fn2006/PollyMC/releases/download/${version}/PollyMC-Linux-Qt6-Portable-${version}.tar.gz"
checksum="0e8d70cc2ac3f4569781a0a00a72ce6a43f046b886461b43f8c71975a1329e11"
do_install() {
rm "share/applications" -rf
rm "share/icons" -rf
rm "share/man" -rf
rm "share/metainfo" -rf
rm "share/mime" -rf
rm "bin/pollymc_updater"
vmkdir "usr"
vmkdir "usr/bin"
vmkdir "usr/share"
vcopy "bin/*" "usr/bin/"
vcopy "share/*" "usr/share"
}