mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-24 15:21:06 +01:00
feat: pollymc
This commit is contained in:
parent
425b2a9ddf
commit
f1dd502d19
2 changed files with 36 additions and 0 deletions
3
srcpkgs/pollymc/files/pollymc
Normal file
3
srcpkgs/pollymc/files/pollymc
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec /opt/pollymc/PollyMC
|
33
srcpkgs/pollymc/template
Normal file
33
srcpkgs/pollymc/template
Normal 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"
|
||||
}
|
Loading…
Reference in a new issue