games/lbreakout2: Updated for version 2.6beta7

This commit is contained in:
Frank Caraballo 2010-05-11 19:44:37 +02:00 committed by Robby Workman
parent 9297ea6064
commit afe6169c69
4 changed files with 20 additions and 19 deletions

View File

@ -3,4 +3,3 @@ Arkanoid. Use your paddle to aim a ball at bricks until all
bricks are destroyed. Lots of power-ups will help you with
that task: extra balls, energy balls, extra lifes, weapons,
glue, bonus floors, paddle expansion and extra score.

View File

@ -2,7 +2,7 @@
# Slackware build script for LBreakout2
# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
# Copyright 2007 Frank Caraballo <fecaraballo[AT]gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,20 +24,15 @@
# Modified by the SlackBuilds.org project
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root!"
exit 1
fi
set -e
PRGNAM=lbreakout2
VERSION=2.6beta-7
PVERSION=2.6beta7
PKG_VERSION=2.6beta7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=`pwd`
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@ -56,7 +51,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@ -64,16 +58,16 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
--localstatedir=/var/lib/lgames
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$PVERSION
cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$PVERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PVERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/doc/$PRGNAM-$PKG_VERSION
cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$PKG_VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKG_VERSION/$PRGNAM.SlackBuild
# Move auto-installed doc files to correct location:
mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$PVERSION/HTML
mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$PKG_VERSION/HTML
# Install desktop file and link icon to /usr/share/pixmaps
mkdir -p $PKG/usr/share/{applications,pixmaps}
@ -85,4 +79,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PVERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERSION-$ARCH-$BUILD$TAG.tgz

View File

@ -3,6 +3,6 @@ VERSION="2.6beta7"
HOMEPAGE="http://lgames.sourceforge.net/"
DOWNLOAD="http://dl.sourceforge.net/lgames/lbreakout2-2.6beta-7.tar.gz"
MD5SUM="bccede972d2f73612c47ca6a5aa9770e"
MAINTAINER="MagicMan"
EMAIL="MagicMan07@bluebottle.com"
APPROVED="robw810"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo[AT]gmail.com"
APPROVED="rworkman"

View File

@ -1,3 +1,11 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
lbreakout2: LBreakout2 (Breakout-style Arcade Game)
lbreakout2:
lbreakout2: LBreakout2 is a breakout-style arcade game in the manner of