summaryrefslogtreecommitdiffstats
path: root/games/pengupop/pengupop.SlackBuild
diff options
context:
space:
mode:
author Frank Caraballo2010-05-11 19:44:41 +0200
committer Erik Hanson2010-05-11 19:44:41 +0200
commitb2f3be159bbbc6f24fe75d9a0eddc87329cf3c64 (patch)
tree36739db2579cc226f06e1cd3ee134061c2138a02 /games/pengupop/pengupop.SlackBuild
parent786fce7190d0cc978e1017e677e61ec068fcd2d9 (diff)
downloadslackbuilds-b2f3be159bbbc6f24fe75d9a0eddc87329cf3c64.tar.gz
games/pengupop: Updated for version 2.2.4
Diffstat (limited to 'games/pengupop/pengupop.SlackBuild')
-rw-r--r--games/pengupop/pengupop.SlackBuild12
1 files changed, 1 insertions, 11 deletions
diff --git a/games/pengupop/pengupop.SlackBuild b/games/pengupop/pengupop.SlackBuild
index fe946decca..316c360a7d 100644
--- a/games/pengupop/pengupop.SlackBuild
+++ b/games/pengupop/pengupop.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Pengupop
-# 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
@@ -22,11 +22,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root!"
- exit 1
-fi
-
PRGNAM=pengupop
VERSION=2.2.4
ARCH=${ARCH:-i486}
@@ -51,7 +46,6 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -79,9 +73,5 @@ cp -a $PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/share/applications
cp -a $PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-# Fix path to icon in desktop file:
-sed -i 's#^Icon=\(.\+\)$#Icon=/usr/share/pixmaps/\1#' \
- $PKG/usr/share/applications/$PRGNAM.desktop || exit 1
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz