blob: 3d4cb1c0d52cc64b5c7a80792f6b9ba5a31e97c1 (
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
|
# Contributor: Rowisi < nomail <at> private <dot> com >
# Contributor: So1ar <so1ar114514@gmail.com>
# Manitor: Bot-wxt1221<3264117476@qq.com>
pkgname=hmcl-stable-bin
_ver=3.5.7
pkgver=${_ver}
pkgrel=3
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')
provides=('hmcl')
conflicts=('hmcl')
source=("hmcl.desktop"
"hmcl-launch-script"
"craft_table.png"
"LICENSE::https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/LICENSE"
"${pkgname}-${pkgver}-${pkgrel}.jar::https://github.com/HMCL-dev/HMCL/releases/download/release-${pkgver}/HMCL-${pkgver}.jar")
sha256sums=('a367a2d222dc86b3e3a60af0727192aa461922735825bf2ccab72a1d95c60325'
'b947ee78cb00b372a29d5c6f33b978aa5e55109dacac557981a25d0877a58d99'
'2989a1b5301b8c7b9afdae5696c6a4e5246afa2d4f1f3d3dad5c192f036a9b4c'
'3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986'
'ce2a9c6ae7ad5a8167e7c9012742a7a97e423cd0bf4a7ec30ff06ec5d8bdefb2')
noextract=("${pkgname}-${pkgver}-${pkgrel}.jar")
package() {
install -Dm755 "hmcl-launch-script" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "hmcl.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${pkgname}-${pkgver}-${pkgrel}.jar" "${pkgdir}/usr/share/java/hmcl-stable-bin/hmcl-bin.jar"
install -Dm644 "craft_table.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png"
install -Dm644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|