[arch-commits] Commit in sauerbraten-data/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:43:06 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:43:05
  Author: felixonmars
Revision: 659838

archrelease: copy trunk to community-staging-any

Added:
  sauerbraten-data/repos/community-staging-any/
  sauerbraten-data/repos/community-staging-any/PKGBUILD
    (from rev 659837, sauerbraten-data/trunk/PKGBUILD)
  sauerbraten-data/repos/community-staging-any/fix-indirect-linking.diff
    (from rev 659837, sauerbraten-data/trunk/fix-indirect-linking.diff)
  sauerbraten-data/repos/community-staging-any/license.txt
    (from rev 659837, sauerbraten-data/trunk/license.txt)

---------------------------+
 PKGBUILD                  |   37 +++++++++++++++++++++++++++++++++++++
 fix-indirect-linking.diff |   20 ++++++++++++++++++++
 license.txt               |   34 ++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+)

Copied: sauerbraten-data/repos/community-staging-any/PKGBUILD (from rev 659837, sauerbraten-data/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 17:43:05 UTC (rev 659838)
@@ -0,0 +1,37 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
+# Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
+# Contributor: Christoph Siegenthaler <csi at gmx.ch>
+# Contributor: Jesse Young <jesse at eon.jlyo.org>
+
+pkgname=sauerbraten-data
+pkgver=2013_02_03_collect_edition
+pkgrel=4
+pkgdesc="Improved version of the Cube engine - datas files"
+arch=('any')
+url="http://www.sauerbraten.org/"
+license=('ZLIB')
+makedepends=('sdl_mixer' 'sdl_image' 'glu' 'mesa-libgl')
+source=(https://downloads.sourceforge.net/sauerbraten/sauerbraten_${pkgver}_linux.tar.bz2
+        license.txt)
+sha512sums=('7864e346cc2bc86d78973db1b341fd8256cc2e1953be51263ef91a5374f9ec00276ba2940850e6d5bba7a57c71190b670dc7ba97021be2935c31f8694fed4897'
+            '0e7ab6f764620116948bc85d55a9b9075f1e2ddbc7c97586569c0f445af4fc4a834ca9674eebae2e03c1fe0ab377f1f83b574a271d269ece76295248695c7b22')
+
+build() {
+  cd "${srcdir}"/sauerbraten/src
+
+  make
+}
+
+package() {
+  cd "${srcdir}"/sauerbraten
+
+  install -d "${pkgdir}"/opt/sauerbraten
+  cp -r data "${pkgdir}"/opt/sauerbraten
+  cp -r packages "${pkgdir}"/opt/sauerbraten
+
+  # make namcap happy
+  #chmod -R go+rx "${pkgdir}"/opt/sauerbraten/packages/argh
+
+  install -Dm644 "${srcdir}"/license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
+}

Copied: sauerbraten-data/repos/community-staging-any/fix-indirect-linking.diff (from rev 659837, sauerbraten-data/trunk/fix-indirect-linking.diff)
===================================================================
--- community-staging-any/fix-indirect-linking.diff	                        (rev 0)
+++ community-staging-any/fix-indirect-linking.diff	2020-07-07 17:43:05 UTC (rev 659838)
@@ -0,0 +1,20 @@
+Index: sauerbraten/Makefile
+===================================================================
+--- sauerbraten.orig/Makefile	2010-07-29 21:24:21.000000000 -0400
++++ sauerbraten/Makefile	2010-07-29 21:26:15.717746486 -0400
+@@ -21,11 +21,14 @@
+ CLIENT_LIBS= -mwindows -Llib -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm
+ else	
+ CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
+-CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
++CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lX11
+ endif
+ ifeq ($(PLATFORM),Linux)
+ CLIENT_LIBS+= -lrt
+ endif
++ifeq ($(PLATFORM),GNU/kFreeBSD)
++CLIENT_LIBS+= -lrt
++endif
+ CLIENT_OBJS= \
+ 	shared/crypto.o \
+ 	shared/geom.o \

Copied: sauerbraten-data/repos/community-staging-any/license.txt (from rev 659837, sauerbraten-data/trunk/license.txt)
===================================================================
--- community-staging-any/license.txt	                        (rev 0)
+++ community-staging-any/license.txt	2020-07-07 17:43:05 UTC (rev 659838)
@@ -0,0 +1,34 @@
+LICENSE
+=======
+
+Sauerbraten game engine source code, any release.
+
+Copyright (C) 2001-2006 Wouter van Oortmerssen.
+
+This software is provided 'as-is', without any express or implied
+warranty.  In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+   claim that you wrote the original software. If you use this software
+   in a product, an acknowledgment in the product documentation would be
+   appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
+
+LICENSE NOTES
+=============
+The license covers the source code found in the "src" directory of this
+archive, the included enet network library which sauerbraten uses is covered by
+an MIT-style license, which is however compatible with the above license for all 
+practical purposes.
+
+Game media included in the game (maps, textures, sounds, models etc.)
+are NOT covered by this license, and may have individual copyrights and
+distribution restrictions (see individual readmes).



More information about the arch-commits mailing list