summaryrefslogtreecommitdiff
path: root/games/alienarena/alienarena.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/alienarena/alienarena.SlackBuild')
-rw-r--r--games/alienarena/alienarena.SlackBuild34
1 files changed, 27 insertions, 7 deletions
diff --git a/games/alienarena/alienarena.SlackBuild b/games/alienarena/alienarena.SlackBuild
index 0017f02c55..4738ddda39 100644
--- a/games/alienarena/alienarena.SlackBuild
+++ b/games/alienarena/alienarena.SlackBuild
@@ -1,9 +1,29 @@
#!/bin/sh
+
# Slackware build script for alienarena
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+
+# Copyright 2010-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=alienarena
-VERSION=${VERSION:-7.60.1}
+VERSION=${VERSION:-7.65}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION-linux20120823.tar.gz
+tar -xvf $CWD/$PRGNAM-$VERSION-linux20130207.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -60,8 +80,9 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-silent-rules \
--disable-dependency-tracking \
--with-x \
+ --with-zlib \
--enable-ansi-color \
- --without-system-libode \
+ --with-system-libode \
--with-xf86dga \
--with-icondir=/usr/share/pixmaps \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@@ -76,10 +97,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/share/applications
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/scripts
-cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING Tools/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-install -m 0644 Tools/LinuxScripts/* $PKG/usr/doc/$PRGNAM-$VERSION/scripts
+find $PKG/usr/doc -type f -exec chmod 0644 '{}' \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc