# Maintainer: lordpipe # Contributor: Sefa Eyeoglu # Contributor: dada513 pkgname=prismlauncher-bin pkgver=8.4 pkgrel=1 pkgdesc="Minecraft launcher with ability to manage multiple instances." arch=('amd64') url="https://github.com/PrismLauncher/PrismLauncher" license=('GPL-3') depends=('libqt5svg5' 'qt5-image-formats-plugins' 'libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5') provides=('prismlauncher') conflicts=('prismlauncher') optdepends=('java-runtime=21: support for Minecraft versions >= 1.20.5' 's!java-runtime=17: support for Minecraft versions >= 1.17 and <= 1.20.4' '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/PrismLauncher/PrismLauncher/releases/download/${pkgver}/PrismLauncher-Linux-Qt5-${pkgver}.tar.gz" 'copyright') sha256sums=('3057752038a03168acd6d2eed901d22cbc90a25b0482fb8c6ef483ee45071da0' '55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71') package() { cp -r "$srcdir/." "$pkgdir/usr" rm "${pkgdir}/usr/bin/prismlauncher_updater" mkdir -p "${pkgdir}/usr/share/doc/$pkgname" cp "${srcdir}/copyright" "${pkgdir}/usr/share/doc/$pkgname/copyright" }