Prism launcher

This commit is contained in:
Tipragot 2023-09-11 19:56:36 +02:00
parent 25c56a7e3f
commit 7d1ba03845
No known key found for this signature in database
5 changed files with 27 additions and 2 deletions

View file

@ -9,7 +9,7 @@ for dir in packages/*/ ; do
if [[ $1 == "check" ]]; then
echo "Check if $pkgname can build correctly..."
cd $dir
makepkg -cd >/dev/null
makepkg -c
cd ../..
else
mkdir -p repository
@ -20,7 +20,7 @@ for dir in packages/*/ ; do
echo "Building version $pkgver-$pkgrel of $pkgname..."
cd $dir
makepkg -cdf >/dev/null
makepkg -cf
cd ../..
fi
fi

View file

@ -0,0 +1,25 @@
pkgname=tos-prism
pkgver=7.2
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' 'qt6-base' 'qt6-5compat' 'qt6-svg' 'qt6-imageformats' 'zlib' 'hicolor-icon-theme')
provides=('prismlauncher')
conflicts=('prismlauncher')
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/${pkgver}/PrismLauncher-Linux-Qt6-${pkgver}.tar.gz")
noextract=("PrismLauncher-Linux-Qt6-${pkgver}.tar.gz")
sha256sums=('9f69ab0d9057e479a038051d5073bbbfda0d2e619d3a186094a9810c340885d4')
package() {
install -d "${pkgdir}/usr"
tar -C "${pkgdir}/usr" -xvf PrismLauncher-Linux-Qt6-${pkgver}.tar.gz
chown -R root:root "${pkgdir}/usr" # files in tarball are not owned by root
}

Binary file not shown.

Binary file not shown.

Binary file not shown.