blob: 7f6cd1cb00255b2b435215eb0487deb8d9cc47d6 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Maintainer: ricalditodepollo <richarclarinet at gmail dot com>
pkgname=balatro-multiplayer-launcher
pkgver=1.0.3
pkgrel=1
pkgdesc="Launcher for Balatro Multiplayer Mod"
arch=('x86_64')
url="https://github.com/Balatro-Multiplayer/Balatro-Multiplayer-Launcher/"
license=(" ")
depends=(
'fuse2'
'nss'
'gtk3'
'libnotify'
'libxss'
'libxtst'
'at-spi2-core'
'libsecret'
"alsa-lib"
"cups"
"dbus"
"zlib"
"libdrm"
"libx11"
"libxcb"
"libxkbcommon"
)
source=(
"${url}releases/download/v${pkgver}/balatro-multiplayer-launcher.AppImage"
"balatro-multiplayer-launcher.desktop"
)
sha256sums=(
"375b04aa1631db63130c02a8a532bfb1b3db1e41200832075b0b1a323fcf2444" #AppImage
"eb906bf72e79c5e481993617a76f33713cd22002bcc64d7fd956a70b4833ad59" #.desktop
)
options=(!strip !debug)
prepare() {
chmod +x "${srcdir}/balatro-multiplayer-launcher.AppImage"
#Icon
"${srcdir}/balatro-multiplayer-launcher.AppImage" --appimage-extract
}
package() {
install -dm755 "${pkgdir}/opt/${pkgname}"
install -dm755 "${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/share/applications"
install -dm755 "${pkgdir}/usr/share/pixmaps"
install -m755 "${srcdir}/balatro-multiplayer-launcher.AppImage" \
"${pkgdir}/opt/${pkgname}/"
ln -s "/opt/${pkgname}/balatro-multiplayer-launcher.AppImage" \
"${pkgdir}/usr/bin/${pkgname}"
install -m644 "${srcdir}/${pkgname}.desktop" \
"${pkgdir}/usr/share/applications/"
if [ -f "${srcdir}/squashfs-root/balatro-multiplayer-launcher.png" ]; then
install -m644 "${srcdir}/squashfs-root/balatro-multiplayer-launcher.png" \
"${pkgdir}/usr/share/pixmaps/"
fi
}
|