1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-21 22:21:05 +01:00
void-packages/srcpkgs/pollymc/template

33 lines
887 B
Bash

# 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 qt6-imageformats qt6-svg qt6-plugin-tls-openssl zlib"
short_desc="DRM-free Prism Launcher fork with support for custom auth servers."
maintainer="Jozef Steinhübl <contact@xhyrom.dev>"
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"
}