summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b6527a63f2e81031a782ef98f8e142e554fa2ab (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
# Maintainer: ricalditodepollo <richarclarinet at gmail dot com>
pkgname=balatro-multiplayer-launcher-bin
pkgver=1.0.13
pkgrel=1
pkgdesc="Launcher for Balatro Multiplayer Mod (pre-compiled binary)"
arch=('x86_64')
conflicts=("balatro-multiplayer-launcher")
provides=("balatro-multiplayer-launcher")
url="https://github.com/Balatro-Multiplayer/Balatro-Multiplayer-Launcher/"
license=(" ")

depends=(
  'gtk3'
  'libnotify'
  'nss'
  'libxss'
  'libxtst'
  'xdg-utils'
  'at-spi2-core'
  'libsecret'
  'alsa-lib'
  'cups'
  'dbus'
  'libdrm'
  'libx11'
  'libxcb'
  'libxkbcommon'
)

source=(
  "${url}releases/download/v${pkgver}/balatro-multiplayer-launcher.deb"

)
sha256sums=(
  "8825ba4b999e10371237d9e4bddb8dbdec6e7cea5dc00828aa2e655d16fdec97"
)

options=(!debug !strip)

prepare() {
  cd "${srcdir}"
  tar -xf data.tar.xz
}

package() {
  cp -r "${srcdir}/opt" "${pkgdir}/"
  cp -r "${srcdir}/usr" "${pkgdir}/"

  install -d "${pkgdir}/usr/bin"

  ln -s "/opt/${pkgname%-bin}/${pkgname%-bin}" "${pkgdir}/usr/bin/${pkgname%-bin}"
}