diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-06-14 01:40:01 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-14 01:40:01 -0500 |
commit | f5f383a1422ded413117da0987af4bf773b717cf (patch) | |
tree | 3784d12907c6a937a2e9f2788a27d59a37ce9d99 /games | |
parent | 01ed7459c0a1c1d812d371693a2d0898953f84ef (diff) |
games/rezerwar: Updated for version 0.4.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/rezerwar/doinst.sh | 7 | ||||
-rw-r--r-- | games/rezerwar/rezerwar.SlackBuild | 24 | ||||
-rw-r--r-- | games/rezerwar/rezerwar.info | 8 | ||||
-rw-r--r-- | games/rezerwar/rezerwar.png | bin | 0 -> 3907 bytes |
4 files changed, 13 insertions, 26 deletions
diff --git a/games/rezerwar/doinst.sh b/games/rezerwar/doinst.sh index 1f8ff67dedb2..5fb28930db0b 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 74de9567414a..7c7042b00efb 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 44da2cbec32c..1ce6606a4093 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 Binary files differnew file mode 100644 index 000000000000..db69ded904ac --- /dev/null +++ b/games/rezerwar/rezerwar.png |