blob: a30ba2b80c394bbc8d87c0d48d3ff5691231f506 (
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
|
pkgname=xash3d-fwgs-bin
pkgver=16ed6cb
pkgrel=1
_pkgrel_x86_64=1
_pkgrel_i686=1
_pkgrel_aarch64=1
pkgdesc="Xash3D FWGS is a heavily modified fork of an original Xash3D Engine for Half Life 1"
arch=('x86_64' 'i686' 'aarch64')
url="https://gitlab.com/linuxbombay/xash3d-fwgs"
license=('GPL')
depends=('sdl2' 'sdl2_net')
makedepends=('unzip')
sha256sums_x86_64=('ffc1fab96674ee27573b90222f127d91f03d548fe8b826aa91ebd3069294f545')
sha256sums_i686=('56b3a013ac16b03724db933fcb5a6bff9706db6cd29da1cd29592790583d3b4f')
sha256sums_aarch64=('21443cadff1c18d4ec0086921173fddfeb7e896fba745c44f45ea2fea25af962')
source_x86_64=("xash3d-linux-x64-$pkgver-x64.tar.xz::$url/$pkgver/-/raw/main/xash3d-fwgs-linux-x64.tar.xz")
source_i686=("xash3d-linux-i686-$pkgver-x64.tar.xz::$url/$pkgver/-/raw/main/xash3d-fwgs-linux-i686.tar.xz")
source_aarch64=("xash3d-linux-arm64-$pkgver-x64.tar.xz::$url/$pkgver/-/raw/main/xash3d-fwgs-linux-arm64.tar.xz")
package() {
install -dm755 "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/share/games/xash3d-fwgs"
cp -n "$srcdir"/*.so "$pkgdir/usr/share/games/xash3d-fwgs"
cp -r "$srcdir/valve" "$pkgdir/usr/share/games/xash3d-fwgs"
install -Dm755 "$srcdir/xash3d" "$pkgdir/usr/share/games/xash3d-fwgs"
ln -sf "/usr/share/games/xash3d-fwgs/xash3d" "$pkgdir/usr/bin"
}
|