Initialize commit

A  .SRCINFO
A  .gitignore
A  PKGBUILD
A  hmcl.desktop
A  hmcl.png
This commit is contained in:
loke 2025-04-03 00:53:57 +08:00
commit eb40fb984f
No known key found for this signature in database
GPG key ID: 16D2684DE0EB8792
5 changed files with 72 additions and 0 deletions

24
.SRCINFO Normal file
View file

@ -0,0 +1,24 @@
pkgbase = hmcl-beta-bin
pkgdesc = A Minecraft Launcher which is multi-functional, cross-platform and popular.
pkgver = 3.6.11.273
pkgrel = 1
url = https://github.com/huanghongxun/HMCL
arch = any
license = GPL3
depends = java-runtime
depends = gtk2
depends = java-openjfx
provides = hmcl
conflicts = hmcl
replaces = hmcl-stable-bin
noextract = hmcl-beta-bin-3.6.11.273-1.sh
source = hmcl.desktop
source = hmcl.png
source = LICENSE::https://raw.githubusercontent.com/HMCL-dev/HMCL/refs/heads/main/LICENSE
source = hmcl-beta-bin-3.6.11.273-1.sh::https://github.com/HMCL-dev/HMCL/releases/download/v3.6.11.273/HMCL-3.6.11.273.sh
sha256sums = 9a561081f8f3ece3da114afd4f6d90565ca0e04716eef4ea88c6b4306566ae9b
sha256sums = 29120471641c51aae3ee84f8bcc16e1e4148c153085f71ccb9680415007f82ad
sha256sums = 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986
sha256sums = f237b5de413e19b334a2491221e5e42ca190a7b931a162280675c4295517038b
pkgname = hmcl-beta-bin

6
.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
*
!.gitignore
!PKGBUILD
!.SRCINFO
!hmcl.desktop
!hmcl.png

31
PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# Maintainer: TTsdzb <ttsdzb at outlook dot com>
# Maintainer: Jia Yin<lok-ation at outlook dot com>
pkgname=hmcl-beta-bin
pkgver=3.6.11.273
pkgrel=1
pkgdesc="A Minecraft Launcher which is multi-functional, cross-platform and popular."
arch=('any')
url="https://github.com/huanghongxun/HMCL"
license=('GPL3')
depends=('java-runtime' 'gtk2' 'java-openjfx')
provides=('hmcl')
conflicts=('hmcl')
replaces=('hmcl-stable-bin')
source=("hmcl.desktop"
"hmcl.png"
"LICENSE::https://raw.githubusercontent.com/HMCL-dev/HMCL/refs/heads/main/LICENSE"
"${pkgname}-${pkgver}-${pkgrel}.sh::https://github.com/HMCL-dev/HMCL/releases/download/v${pkgver}/HMCL-${pkgver}.sh")
sha256sums=('9a561081f8f3ece3da114afd4f6d90565ca0e04716eef4ea88c6b4306566ae9b'
'29120471641c51aae3ee84f8bcc16e1e4148c153085f71ccb9680415007f82ad'
'3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986'
'f237b5de413e19b334a2491221e5e42ca190a7b931a162280675c4295517038b')
noextract=("${pkgname}-${pkgver}-${pkgrel}.sh")
package() {
install -Dm755 "${pkgname}-${pkgver}-${pkgrel}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "hmcl.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "hmcl.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

11
hmcl.desktop Normal file
View file

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=HMCL
Comment=Hello Minecraft! Launcher, a powerful Minecraft launcher.
Exec=hmcl-bin
Icon=hmcl-bin
Terminal=false
StartupNotify=false
Categories=Game;
StartupWMClass=org.jackhuang.hmcl.Launcher

BIN
hmcl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB