summaryrefslogtreecommitdiffstats
path: root/games/lbreakout2/lbreakout2.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-06-17 23:10:40 +0200
committer Willy Sudiarto Raharjo2016-06-17 23:10:40 +0200
commite0a490df426c8320689d6b5cfa5c460e9b30386b (patch)
treef5749c754fde6d7a143206fb37f37b58b573fdfc /games/lbreakout2/lbreakout2.SlackBuild
parent871d18cc1717a92dbf6625202fbfceca78069ab3 (diff)
downloadslackbuilds-e0a490df426c8320689d6b5cfa5c460e9b30386b.tar.gz
games/lbreakout2: Updated for version 2.6.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/lbreakout2/lbreakout2.SlackBuild')
-rw-r--r--games/lbreakout2/lbreakout2.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/games/lbreakout2/lbreakout2.SlackBuild b/games/lbreakout2/lbreakout2.SlackBuild
index 4d1c4e472e..e1f977e812 100644
--- a/games/lbreakout2/lbreakout2.SlackBuild
+++ b/games/lbreakout2/lbreakout2.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lbreakout2
-VERSION=${VERSION:-2.6.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.6.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,15 +59,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-2.6beta-7
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,10 +82,9 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README* TODO \
+cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/HTML
mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop