# Maintainer: Evan Goode pkgname=pollymc-bin pkgver=8.0 pkgrel=2 pkgdesc="DRM-free Prism Launcher fork with support for custom auth servers" arch=('amd64') url="https://github.com/fn2006/PollyMC" license=('GPL-3') depends=('libqt5svg5' 'qt5-image-formats-plugins' 'libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5') provides=('pollymc') conflicts=('pollymc') optdepends=('java-runtime=17: support for Minecraft versions >= 1.17' 's!java-runtime=8: support for Minecraft versions <= 1.16' 's!gamemode: support for GameMode' 's!flite: narrator support' 's!x11-xserver-utils: xrandr is needed to support Minecraft versions <= 1.12') source=("https://github.com/fn2006/PollyMC/releases/download/${pkgver}/PollyMC-Linux-Qt5-${pkgver}.tar.gz" 'copyright') sha256sums=('72e9ccb19dc39e3317f4bc850fe3491670d481a07920b1b3a547a7066d239a1c' '6a789ddf5c9ef259fc4475781d9d5fe6a91f3b0d88e64e3d9eebfed7d0ad0eab') package() { cp -r "$srcdir/." "$pkgdir/usr" rm "${pkgdir}/usr/bin/pollymc_updater" mkdir -p "${pkgdir}/usr/share/doc/$pkgname" cp "${srcdir}/copyright" "${pkgdir}/usr/share/doc/$pkgname/copyright" }