tos/packages/tos-prism/PKGBUILD

25 lines
1 KiB
Bash
Raw Normal View History

2023-09-11 17:56:36 +00:00
pkgname=tos-prism
2023-09-11 18:10:35 +00:00
pkgver=7.3
pkgrel=1
2023-09-11 17:56:36 +00:00
pkgdesc="Minecraft launcher with ability to manage multiple instances."
arch=('x86_64')
url="https://prismlauncher.org"
license=('GPL3')
2023-09-11 18:08:50 +00:00
depends=('java-runtime=17' 'libgl' 'qt5-base' 'qt5-svg' 'qt5-imageformats' 'zlib' 'hicolor-icon-theme')
provides=('prismlauncher' 'prismlauncher-qt5')
conflicts=('prismlauncher' 'prismlauncher-qt5')
2023-09-11 17:56:36 +00:00
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'
)
2023-09-11 18:10:35 +00:00
source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/7.2/PrismLauncher-Linux-7.2.tar.gz")
noextract=("PrismLauncher-Linux-7.2.tar.gz")
2023-09-11 18:08:50 +00:00
sha256sums=('6faffe40f978c65cf2f7806393e5563eaf299fd0e963b783f861e5b9087486b1')
2023-09-11 17:56:36 +00:00
package() {
install -d "${pkgdir}/usr"
2023-09-11 18:10:35 +00:00
tar -C "${pkgdir}/usr" -xvf PrismLauncher-Linux-7.2.tar.gz
2023-09-11 17:56:36 +00:00
chown -R root:root "${pkgdir}/usr" # files in tarball are not owned by root
}