From 9a00552ea5e4de46b825f48bbf03a80809c87e42 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 18 Apr 2020 16:02:11 +0200 Subject: pcr: Add xonotic for armv7h Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/xonotic-data/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pcr/xonotic-data/PKGBUILD (limited to 'pcr/xonotic-data') diff --git a/pcr/xonotic-data/PKGBUILD b/pcr/xonotic-data/PKGBUILD new file mode 100644 index 000000000..2eb8a1cda --- /dev/null +++ b/pcr/xonotic-data/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer (Arch): Sven-Hendrik Haase +# Contributor (Arch): Alexander Suhoverhov +# This package is in Parabola only for architectures that don't have xonotic in +# their feed. Here is the status of xonotic in the various upstream +# GNU/Linux distributions Parabola is based on: +# +--------------+----------------+---------------+ +# | Architecture | Upstream | Upstream repo | +# +--------------+----------------+---------------+ +# | armv7h | Arch Linux ARM | None | +# | i686 | Arch Linux 32 | community | +# | x86_64 | Arch Linux | community | +# +--------------+----------------+---------------+ +pkgname=xonotic-data +pkgver=0.8.2 +pkgrel=3 +pkgdesc="A free, fast-paced crossplatform first-person shooter (data files)" +arch=('armv7h') +url="http://xonotic.org" +license=('GPL') +depends=('bash' 'perl') +makedepends=('unzip') +source=("https://dl.xonotic.org/xonotic-${pkgver}.zip") +sha512sums=('0787fcf326827ae0292e5917c7ff2c7fd79947209d4b62e7f83b8b828bec15b575da304e0631f9f163c9b0bd93bed13616e142398ff08cbdaaea890a939dfca5') + +package() { + cd Xonotic + + # data + mkdir -p "$pkgdir"/usr/share/xonotic/ + mv data "$pkgdir"/usr/share/xonotic/ + + # server stuff + cp -r server "$pkgdir"/usr/share/xonotic/ + + # key + install -Dm644 key_0.d0pk "$pkgdir"/usr/share/xonotic/key_0.d0pk +} +# vim: ts=2:sw=2 et: -- cgit v1.2.3