makedeb


fjordlauncher-bin 8.4.2-1


Prism Launcher fork with support for alternative auth servers

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for fjordlauncher-bin.

# Maintainer: Evan Goode <mail@evangoo.de>
# Contributor: lordpipe <lordpipe@protonmail.com>
# Contributor: Sefa Eyeoglu <conctact@scrumplex.net>
# Contributor: dada513 <dada513@protonmail.com>

pkgname=fjordlauncher-bin
pkgver=8.4.2
pkgrel=1
pkgdesc="Prism Launcher fork with support for alternative auth servers"
arch=('amd64')
url="https://github.com/unmojang/FjordLauncher"
license=('GPL-3')
depends=('libqt5svg5' 'qt5-image-formats-plugins' 'libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5' 'libqt5networkauth5')
provides=('fjordlauncher')
conflicts=('fjordlauncher')
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/unmojang/FjordLauncher/releases/download/${pkgver}/FjordLauncher-Linux-Qt5-${pkgver}.tar.gz"
        'copyright')
sha256sums=('f0ae88c0e785bdbe4160e2ab05563dcc5e748b7bbe73796d35f04a83d6c6dea2'
            '276999f42582d6ac34410b4b008cbbcf03b2a93b587d3393038c37c991085c2b')

package() {
    cp -r "$srcdir/." "$pkgdir/usr"
    mkdir -p "${pkgdir}/usr/share/doc/$pkgname"
    mv "${pkgdir}/usr/share/mime/packages/modrinth-mrpack-mime.xml" \
       "${pkgdir}/usr/share/mime/packages/fjordlauncher-modrinth-mrpack-mime.xml"
    cp "${srcdir}/copyright" "${pkgdir}/usr/share/doc/$pkgname/copyright"
}