summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Frank Caraballo <fecaraballo[AT]gmail.com>2010-05-11 19:44:37 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:37 +0200
commitafe6169c6954ecc12be12f5dc625c50e99461040 (patch)
tree5a5e1379fdf80218338f18898baf60e40249e81a /games
parent9297ea606461d9e227c321614916883ef5dcd94f (diff)
downloadslackbuilds-afe6169c6954ecc12be12f5dc625c50e99461040.tar.gz
slackbuilds-afe6169c6954ecc12be12f5dc625c50e99461040.tar.xz
games/lbreakout2: Updated for version 2.6beta7
Diffstat (limited to 'games')
-rw-r--r--games/lbreakout2/README1
-rw-r--r--games/lbreakout2/lbreakout2.SlackBuild24
-rw-r--r--games/lbreakout2/lbreakout2.info6
-rw-r--r--games/lbreakout2/slack-desc8
4 files changed, 20 insertions, 19 deletions
diff --git a/games/lbreakout2/README b/games/lbreakout2/README
index 57052214b7..99f3f6e8a0 100644
--- a/games/lbreakout2/README
+++ b/games/lbreakout2/README
@@ -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.
-
diff --git a/games/lbreakout2/lbreakout2.SlackBuild b/games/lbreakout2/lbreakout2.SlackBuild
index 8c27e93c7f..36429b2787 100644
--- a/games/lbreakout2/lbreakout2.SlackBuild
+++ b/games/lbreakout2/lbreakout2.SlackBuild
@@ -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
diff --git a/games/lbreakout2/lbreakout2.info b/games/lbreakout2/lbreakout2.info
index a6939a3236..8e74f529f2 100644
--- a/games/lbreakout2/lbreakout2.info
+++ b/games/lbreakout2/lbreakout2.info
@@ -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"
diff --git a/games/lbreakout2/slack-desc b/games/lbreakout2/slack-desc
index 75f59baee8..8270756357 100644
--- a/games/lbreakout2/slack-desc
+++ b/games/lbreakout2/slack-desc
@@ -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