aboutsummaryrefslogtreecommitdiff
path: root/games/pengupop/pengupop.SlackBuild
diff options
context:
space:
mode:
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 fe946deccab2..316c360a7d3e 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