tos/packages/tos-prism/PKGBUILD
2023-09-11 20:10:35 +02:00

25 lines
1 KiB
Bash

pkgname=tos-prism
pkgver=7.3
pkgrel=1
pkgdesc="Minecraft launcher with ability to manage multiple instances."
arch=('x86_64')
url="https://prismlauncher.org"
license=('GPL3')
depends=('java-runtime=17' 'libgl' 'qt5-base' 'qt5-svg' 'qt5-imageformats' 'zlib' 'hicolor-icon-theme')
provides=('prismlauncher' 'prismlauncher-qt5')
conflicts=('prismlauncher' 'prismlauncher-qt5')
optdepends=('glfw: to use system GLFW libraries'
'openal: to use system OpenAL libraries'
'visualvm: Profiling support'
'xorg-xrandr: for older minecraft versions'
'java-runtime=8: support for Minecraft versions < 1.17'
)
source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/7.2/PrismLauncher-Linux-7.2.tar.gz")
noextract=("PrismLauncher-Linux-7.2.tar.gz")
sha256sums=('6faffe40f978c65cf2f7806393e5563eaf299fd0e963b783f861e5b9087486b1')
package() {
install -d "${pkgdir}/usr"
tar -C "${pkgdir}/usr" -xvf PrismLauncher-Linux-7.2.tar.gz
chown -R root:root "${pkgdir}/usr" # files in tarball are not owned by root
}