diff options
author | Viech | 2023-06-24 13:05:22 +0200 |
---|---|---|
committer | Viech | 2023-06-24 13:05:22 +0200 |
commit | 328bc805e0b3c298db453549403dacce7f34f8e6 (patch) | |
tree | 07a558d056560561a8b11a431838ab35debe1842 | |
parent | 7f53e442ac5bafa72fdcb764928a551c65781839 (diff) | |
download | aur-328bc805e0b3c298db453549403dacce7f34f8e6.tar.gz |
Tentatively add AArch64 support.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -1,10 +1,11 @@ pkgbase = unvanquished pkgdesc = A team-based, fast-paced, fps/rts hybrid game which pits aliens against humans. pkgver = 0.54.0 - pkgrel = 3 + pkgrel = 4 url = https://www.unvanquished.net install = unvanquished.install arch = x86_64 + arch = aarch64 license = GPL3 makedepends = cmake depends = unvanquished-data>=0.54.0 @@ -4,9 +4,9 @@ pkgname=unvanquished pkgver=0.54.0 -pkgrel=3 +pkgrel=4 pkgdesc='A team-based, fast-paced, fps/rts hybrid game which pits aliens against humans.' -arch=('x86_64') +arch=('x86_64' 'aarch64') url='https://www.unvanquished.net' license=('GPL3') makedepends=('cmake') @@ -147,6 +147,11 @@ package() { install -m 755 nacl_helper_bootstrap "${pkgdir}/usr/lib/unvanquished/" install -m 755 nacl_loader "${pkgdir}/usr/lib/unvanquished/" + if [ "${CARCH}" == "aarch64" ]; then + install -m 755 nacl_helper_bootstrap-armhf "${pkgdir}/usr/lib/unvanquished/" + cp -r lib-armhf "${pkgdir}/usr/lib/unvanquished/" + fi + cd "${srcdir}/${_unvanquished}/dist/configs" install -m 644 game/maprotation.cfg "${pkgdir}/etc/unvanquished/" |