games/lbreakout2: Updated for version 2.6.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-06-18 04:10:40 +07:00
parent 871d18cc17
commit e0a490df42
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 11 additions and 12 deletions

View File

@ -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

View File

@ -1,8 +1,8 @@
PRGNAM="lbreakout2"
VERSION="2.6.3"
VERSION="2.6.5"
HOMEPAGE="http://lgames.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/project/lgames/lbreakout2/2.6/lbreakout2-2.6.3.tar.gz"
MD5SUM="43900187bc935475cd6489569cd2230a"
DOWNLOAD="http://downloads.sourceforge.net/project/lgames/lbreakout2/2.6/lbreakout2-2.6.5.tar.gz"
MD5SUM="1a9238b83f9f13f09b7a4d53e00b4e84"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""