blob: ec2fc5b7566881441ffd0dedf352ba24876ad529 (
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
|
# Maintainer: Zhaose <zhaose233@outlook.com>
pkgname=xmcl-launcher-bin
_pkgname=xmcl-launcher
pkgver=0.47.15
pkgrel=1
pkgdesc="X Minecraft Launcher - Modern Minecraft Launcher"
arch=('x86_64')
url="https://xmcl.app/"
license=('MIT')
depends=('electron29')
optdepends=(
'jre8-openjdk: For old versions of minecraft'
'jre11-openjdk: Recommended for Minecraft 1.12(17w13a)-1.17(21w18a)'
'jre17-openjdk: Recommended for Minecraft above 1.17(21w19a)'
)
source=(
"https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${pkgver}/app-${pkgver}-linux.asar"
"xmcl.png"
"xmcl.desktop"
)
sha256sums=('e58ae4919e9de93a7a6899cfd3b258f54275239b5ed0c803f3256cb3b4636094'
'7292bbcf951bba1e34d265925c1ca5f786198a3b289a081e134e0e59b743e742'
'7504507abe2efdd4e103c12efa028a093852d7c17e85377e1f07efe93fd52de2')
package(){
cd ${pkgdir}
install -Dm 644 ${srcdir}/app-${pkgver}-linux.asar ${pkgdir}/usr/lib/xmcl/xmcl.asar
install -Dm 644 ${srcdir}/xmcl.png ${pkgdir}/usr/share/icons/hicolor/256x256/apps/xmcl.png
install -Dm 644 ${srcdir}/xmcl.desktop ${pkgdir}/usr/share/applications/xmcl.desktop
}
|