summaryrefslogtreecommitdiffstats
path: root/games/rezerwar
diff options
context:
space:
mode:
Diffstat (limited to 'games/rezerwar')
-rw-r--r--games/rezerwar/doinst.sh7
-rw-r--r--games/rezerwar/rezerwar.SlackBuild24
-rw-r--r--games/rezerwar/rezerwar.info8
-rw-r--r--games/rezerwar/rezerwar.pngbin0 -> 3907 bytes
4 files changed, 13 insertions, 26 deletions
diff --git a/games/rezerwar/doinst.sh b/games/rezerwar/doinst.sh
index 1f8ff67ded..5fb28930db 100644
--- a/games/rezerwar/doinst.sh
+++ b/games/rezerwar/doinst.sh
@@ -1,10 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/games/rezerwar/rezerwar.SlackBuild b/games/rezerwar/rezerwar.SlackBuild
index 74de956741..7c7042b00e 100644
--- a/games/rezerwar/rezerwar.SlackBuild
+++ b/games/rezerwar/rezerwar.SlackBuild
@@ -5,25 +5,23 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=rezerwar
-VERSION=${VERSION:-0.4.1}
+VERSION=0.4.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
@@ -47,6 +45,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+SDLCONFIG="sdl-config" \
TARGET_BIN="/usr/games" \
TARGET_DOC="/usr/doc/$PRGNAM-$VERSION" \
TARGET_DATA="/usr/share/$PRGNAM" \
@@ -59,14 +58,9 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/applications
+mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-
-for i in 16 32; do
- convert data/gfx/icons/icon_${i}x${i}.ico $PRGNAM-$i.png
- install -D -m 0644 $PRGNAM-$i.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
-done
+install -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/rezerwar/rezerwar.info b/games/rezerwar/rezerwar.info
index 44da2cbec3..1ce6606a40 100644
--- a/games/rezerwar/rezerwar.info
+++ b/games/rezerwar/rezerwar.info
@@ -1,10 +1,10 @@
PRGNAM="rezerwar"
-VERSION="0.4.1"
+VERSION="0.4.2"
HOMEPAGE="http://tamentis.com/projects/rezerwar/"
-DOWNLOAD="http://tamentis.com/projects/rezerwar/files/rezerwar-0.4.1.tar.gz"
-MD5SUM="10aa0006d230d0cd5691b31219ca3b8f"
+DOWNLOAD="http://tamentis.com/projects/rezerwar/files/rezerwar-0.4.2.tar.gz"
+MD5SUM="42018abe251e45ab8cc30133cde61ff8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"
diff --git a/games/rezerwar/rezerwar.png b/games/rezerwar/rezerwar.png
new file mode 100644
index 0000000000..db69ded904
--- /dev/null
+++ b/games/rezerwar/rezerwar.png
Binary files differ