[arch-commits] Commit in xonotic-data/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 01:11:46 UTC 2018


    Date: Saturday, November 10, 2018 @ 01:11:45
  Author: foutrelis
Revision: 405606

archrelease: copy trunk to community-staging-any

Added:
  xonotic-data/repos/community-staging-any/
  xonotic-data/repos/community-staging-any/PKGBUILD
    (from rev 405605, xonotic-data/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: xonotic-data/repos/community-staging-any/PKGBUILD (from rev 405605, xonotic-data/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 01:11:45 UTC (rev 405606)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Alexander Suhoverhov <cy at ngs dot ru>
+pkgname=xonotic-data
+pkgver=0.8.2
+pkgrel=2
+pkgdesc="A free, fast-paced crossplatform first-person shooter (data files)"
+arch=('any')
+url="http://xonotic.org"
+license=('GPL')
+depends=()
+makedepends=('unzip')
+source=("http://dl.xonotic.org/xonotic-${pkgver}.zip")
+sha512sums=('0787fcf326827ae0292e5917c7ff2c7fd79947209d4b62e7f83b8b828bec15b575da304e0631f9f163c9b0bd93bed13616e142398ff08cbdaaea890a939dfca5')
+
+build() {
+  cd $srcdir/Xonotic/source/darkplaces
+}
+
+package() {
+  cd $srcdir/Xonotic
+
+  # data
+  mkdir -p $pkgdir/usr/share/xonotic/
+  mv $srcdir/Xonotic/data $pkgdir/usr/share/xonotic/
+
+  # server stuff
+  cp -r $srcdir/Xonotic/server $pkgdir/usr/share/xonotic/
+
+  # key
+  install -Dm644 key_0.d0pk $pkgdir/usr/share/xonotic/key_0.d0pk
+}
+# vim: ts=2:sw=2 et:


More information about the arch-commits mailing list