summaryrefslogtreecommitdiff
path: root/pcr/xonotic-data
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-04-18 16:02:11 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-04-18 16:02:54 +0200
commit9a00552ea5e4de46b825f48bbf03a80809c87e42 (patch)
tree3c7734fda26b7fad812d14d321d23c275a5a22fb /pcr/xonotic-data
parent00191495e4aa958e3ef3ac0eb3f51626c948e964 (diff)
downloadabslibre-9a00552ea5e4de46b825f48bbf03a80809c87e42.tar.gz
abslibre-9a00552ea5e4de46b825f48bbf03a80809c87e42.tar.bz2
abslibre-9a00552ea5e4de46b825f48bbf03a80809c87e42.zip
pcr: Add xonotic for armv7h
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/xonotic-data')
-rw-r--r--pcr/xonotic-data/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
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 <svenstaro@gmail.com>
+# Contributor (Arch): Alexander Suhoverhov <cy at ngs dot ru>
+# 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: