summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 095507fcd9d1054b405c597301aee66a0c5db1fb (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
# Maintainer: tarball <bootctl@gmail.com>

pkgname=bunnymodxt-bin
pkgver=2023.07.23
pkgrel=1
pkgdesc='Speedrun and TAS tool for Half-Life & friends'
url='https://github.com/YaLTeR/BunnymodXT'
arch=(x86_64)
license=(MIT)
provides=(bunnymodxt)
conflicts=(bunnymodxt)
depends=(
  bash
  lib32-gcc-libs
  lib32-glibc
  lib32-libglvnd
)
install=$pkgname.install

source=(bunnymodxt.sh)
source_x86_64=("$pkgname-$pkgver.7z::$url/releases/download/jul-23-2023/2-BunnymodXT-Linux.7z")

sha256sums=('94e2930d1d3f3c71c4dd23b9d2b46a80eb35f02ffefaae521b1197eef7304446')
sha256sums_x86_64=('ecfd9065ed426f4892bc8375fe7c76f5e0d8f59fb617316ea0bfc94fe95e07a7')

package() {
  install -Dm644 LICENSE \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

  install -Dm755 libBunnymodXT.so \
    "$pkgdir"/usr/lib/libBunnymodXT.so

  install -Dm755 bunnymodxt.sh \
    "$pkgdir"/usr/bin/bunnymodxt
}