mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
fix: undoing changes that destroy the normal functionality of the software
This commit is contained in:
parent
e6cca6ff60
commit
6a138ca53a
3 changed files with 6 additions and 10 deletions
8
.SRCINFO
8
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = hmcl-beta-bin
|
||||
pkgdesc = A Minecraft Launcher which is multi-functional, cross-platform and popular.
|
||||
pkgver = 3.6.14.286
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://github.com/huanghongxun/HMCL
|
||||
arch = any
|
||||
license = GPL-3.0-or-later
|
||||
|
|
@ -9,12 +9,12 @@ pkgbase = hmcl-beta-bin
|
|||
depends = hicolor-icon-theme
|
||||
provides = hmcl
|
||||
conflicts = hmcl
|
||||
noextract = hmcl-beta-bin-3.6.14.286-3.sh
|
||||
noextract = hmcl-beta-bin-3.6.14.286-4.sh
|
||||
source = hmcl.desktop
|
||||
source = hmcl-launch-script
|
||||
source = hmcl-beta-bin-3.6.14.286-3.jar::https://github.com/HMCL-dev/HMCL/releases/download/v3.6.14.286/HMCL-3.6.14.286.jar
|
||||
source = hmcl-beta-bin-3.6.14.286-4.jar::https://github.com/HMCL-dev/HMCL/releases/download/v3.6.14.286/HMCL-3.6.14.286.jar
|
||||
sha256sums = ef5edb4285293c77162374e15f01f3540c7f511f6d9ab5b7244c4b01eb8512de
|
||||
sha256sums = fda282e18b8da28b4ff95b8953c51fd4964db7c9d2d5606ea7f8d0dcbc12249b
|
||||
sha256sums = 296914106dac2d07c9ce2bc92a91568830534332e9bf7554ea591f22efa357df
|
||||
sha256sums = b5646657a1abcbc8963067d7c17fe699b948c47fb27dbc18c512b2e3aa7086f1
|
||||
|
||||
pkgname = hmcl-beta-bin
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=hmcl-beta-bin
|
||||
pkgver=3.6.14.286
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="A Minecraft Launcher which is multi-functional, cross-platform and popular."
|
||||
arch=('any')
|
||||
url="https://github.com/huanghongxun/HMCL"
|
||||
|
|
@ -15,7 +15,7 @@ source=("hmcl.desktop"
|
|||
"hmcl-launch-script"
|
||||
"${pkgname}-${pkgver}-${pkgrel}.jar::https://github.com/HMCL-dev/HMCL/releases/download/v${pkgver}/HMCL-${pkgver}.jar")
|
||||
sha256sums=('ef5edb4285293c77162374e15f01f3540c7f511f6d9ab5b7244c4b01eb8512de'
|
||||
'fda282e18b8da28b4ff95b8953c51fd4964db7c9d2d5606ea7f8d0dcbc12249b'
|
||||
'296914106dac2d07c9ce2bc92a91568830534332e9bf7554ea591f22efa357df'
|
||||
'b5646657a1abcbc8963067d7c17fe699b948c47fb27dbc18c512b2e3aa7086f1')
|
||||
|
||||
noextract=("${pkgname}-${pkgver}-${pkgrel}.sh")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,2 @@
|
|||
#!/bin/sh
|
||||
# Thanks to https://github.com/archlinuxcn/repo/blob/1a86208eabc5ab90ab8381776de12619e152dcdd/hmcl/hmcl-launch-script
|
||||
WORKDIR=${XDG_CONFIG_HOME:-$HOME/.config}
|
||||
mkdir -p "$WORKDIR"
|
||||
cd "$WORKDIR" || return 0
|
||||
exec /usr/bin/java -jar '/usr/share/java/hmcl-beta-bin/hmcl-beta-bin.jar' "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue