diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2011-06-17 21:33:52 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-19 23:17:04 -0500 |
commit | 7d459cb2c84725e3ae10fdc329638b70814797ae (patch) | |
tree | 23a9b7656fedaebf2d43f1d304adb5b8173e21cc /games/warsow/warsow.SlackBuild | |
parent | f0fdcd72c110b6f8e00c1abca6f732ec5b39ab66 (diff) |
games/warsow: Updated for version 0.62.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/warsow/warsow.SlackBuild')
-rw-r--r-- | games/warsow/warsow.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild index 7a61a627ae8d5..1b2a877102839 100644 --- a/games/warsow/warsow.SlackBuild +++ b/games/warsow/warsow.SlackBuild @@ -22,10 +22,12 @@ # Written by Andre Barboza <bmg.andre@gmail.com> PRGNAM=warsow -VERSION=${VERSION:-0.5} +VERSION=${VERSION:-0.62} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +BASE_VERSION=${BASE_VERSION:-0.61} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -45,12 +47,14 @@ else EXESUFFIX="i386" fi -set -e # Exit on most errors +set -e rm -rf $PKG $TMP/$PRGNAM-$VERSION mkdir -p $TMP/$PRGNAM-$VERSION $PKG $OUTPUT cd $TMP/$PRGNAM-$VERSION -unzip $CWD/"$PRGNAM"_"$VERSION"_unified.zip +unzip $CWD/"$PRGNAM"_"$BASE_VERSION"_unified.zip +cd "$PRGNAM"_"$BASE_VERSION"_unified +unzip -o $CWD/"$PRGNAM"_"$VERSION"_update.zip chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -77,9 +81,9 @@ install -D -m 0755 libs/snd_qf_$EXESUFFIX.so $PKG/usr/share/warsow/libs mkdir -p $PKG/usr/share/warsow/basewsw/ cp -ra basewsw/* $PKG/usr/share/warsow/basewsw/ mkdir -p $PKG/usr/share/pixmaps/ -cp -a $CWD/warsow.png $PKG/usr/share/pixmaps/ +cat $CWD/warsow.png > $PKG/usr/share/pixmaps/warsow.png mkdir -p $PKG/usr/share/applications -cp -a $CWD/warsow.desktop $PKG/usr/share/applications/ +cat $CWD/warsow.desktop > $PKG/usr/share/applications/warsow.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION |