summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b0bd87d97411286c13dc1262be92a5c85f59f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: fn2006 <usernamefn2006alreadyused@protonmail.com>
# Contributor: Sefa Eyeoglu <contact@scrumplex.net>
# Contributor: txtsd <aur.archlinux@ihavea.quest>
# Contributor: seth <getchoo at tuta dot io>

pkgname=pollymc-bin
pkgver=8.0
pkgrel=1
pkgdesc="DRM-free Prism Launcher fork with support for custom auth servers."
arch=('x86_64')
url="https://github.com/fn2006/PollyMC"
license=('GPL3')
depends=('java-runtime' 'libgl' 'qt6-base' 'qt6-5compat' 'qt6-svg' 'qt6-imageformats' 'zlib' 'hicolor-icon-theme')
provides=('pollymc')
conflicts=('pollymc' 'prismlauncher')
optdepends=('java-runtime=8: support for Minecraft versions < 1.17'
            'java-runtime=17: support for Minecraft versions >= 1.17')
source=("https://github.com/fn2006/PollyMC/releases/download/${pkgver}/PollyMC-Linux-Qt6-${pkgver}.tar.gz")
noextract=("PollyMC-Linux-Qt6-${pkgver}.tar.gz")
sha256sums=('5618226735e2eda16cb3a194d3da3fe06e97fe7b07a45bcf5cdfeac9b25dc8f6')

package() {
    install -d "${pkgdir}/usr"
    tar -C "${pkgdir}/usr" -xvf PollyMC-Linux-Qt6-${pkgver}.tar.gz
    rm "${pkgdir}"/usr/bin/pollymc_updater
    chown -R root:root "${pkgdir}/usr"  # files in tarball are not owned by root
}