diff options
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 7a61a627ae8d..1b2a87710283 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 |