summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5969edaa2e070e8d77042955e498a061e991d6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Source: https://launcher.hytale.com/version/release/launcher.json
# Maintainer: SCDevel <root@scdevel.net>

_version=2026.02.09-45e4c74

pkgname=hytale-launcher-bin
pkgver=${_version%-*}
pkgrel=1
pkgdesc="Hytale Launcher (Native Linux, Self-Updating) [${_version}]"
url="https://hytale.com"
license=('LicenseRef-custom')
arch=('x86_64')
options=('!strip' '!debug')
provides=('hytale-launcher')
conflicts=('hytale-launcher')
depends=('webkit2gtk-4.1' 'gtk3' 'hicolor-icon-theme' 'bash' 'xdg-utils' 'libsoup3' 'gdk-pixbuf2' 'glib2' 'glibc')
optdepends=('systemd: Required to check System Time Synchronization.'
            'iproute2: Required to check IPV6 status')
install="hytale-launcher.install"

source=("hytale-launcher-${_version}.zip::https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-${_version}.zip"
        "hytale-launcher.install"
        "hytale-launcher.sh"
        "nautilus-fix.sh"
        "com.hypixel.HytaleLauncher.png"
        "com.hypixel.HytaleLauncher.desktop"
        "LICENSE")

# generated with: updpkgsums
sha256sums=('d4f908b368af0d4a278cc0ae26fcb435bddbf78441301c9a48925124ed51fb44'
            '0835afe0aec4f086c72518512bf64bfa55679242f3214ca6542fb0fcadd150b9'
            '2f82dd197e945fe2be168fcc267396273dfaf7015f65b28baf32a8f2f5960e72'
            '4ba4ac60ef66d32e4bb243e3bfa0ffc59322d6a88262a398198a0b2c6e365a52'
            '2ac413e944bff6afba669883dd6686c7f08aa77708b06d8492177fcd48fd6b2c'
            '8aa7dc98faa3a094f5a2ae8c0ad1ff7a65d295b8b3705c5707ec184570d67195'
            '5782bcd7945501383cd6b589797549318cb8e494047c31944fc326ff51ae7047')

package() {
    install -Dm755 "${srcdir}/hytale-launcher" "${pkgdir}/opt/${pkgname}/hytale-launcher"
    install -Dm755 "${srcdir}/hytale-launcher.sh" "${pkgdir}/usr/bin/hytale-launcher"

    # temporary fix for nautlius crash
    install -Dm755 "${srcdir}/nautilus-fix.sh" "${pkgdir}/opt/hytale-launcher-bin/nautilus-fix/nautilus"

    install -Dm644 "${srcdir}/com.hypixel.HytaleLauncher.png" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/com.hypixel.HytaleLauncher.png"
    install -Dm644 "${srcdir}/com.hypixel.HytaleLauncher.desktop" "${pkgdir}/usr/share/applications/com.hypixel.HytaleLauncher.desktop"
    install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}