aboutsummaryrefslogtreecommitdiff
path: root/system/gparted
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:46:28 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:46:28 +0200
commitfacbf9a100097caccf53d26ad4d43baeef91923c (patch)
treeb2b94c34e79cce04979bb28ebfbc43942781069e /system/gparted
parent5e045081518e61e6651bc6040402138be6a76483 (diff)
system/gparted: Updated for version 0.3.3
Diffstat (limited to 'system/gparted')
-rw-r--r--system/gparted/README3
-rw-r--r--system/gparted/doinst.sh4
-rw-r--r--system/gparted/gparted.SlackBuild6
-rw-r--r--system/gparted/gparted.info2
-rw-r--r--system/gparted/slack-desc10
5 files changed, 17 insertions, 8 deletions
diff --git a/system/gparted/README b/system/gparted/README
index a3aab4d7224d..8cc1be0e9781 100644
--- a/system/gparted/README
+++ b/system/gparted/README
@@ -6,6 +6,5 @@ of GParted. GParted is written in C++ and uses gtkmm for it's
Graphical User Interface (GUI).
gtkmm, which is available at slackbuilds.org, and parted, which
-can be found on the second Slackware CD in extra/ or on any official
+can be found in /extra on the Slackware CD's or on any official
Slackware mirror, are required to build gparted.
-
diff --git a/system/gparted/doinst.sh b/system/gparted/doinst.sh
index 85aad974d0ab..06e65784cdc8 100644
--- a/system/gparted/doinst.sh
+++ b/system/gparted/doinst.sh
@@ -1,3 +1,5 @@
+
if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database &> /dev/null
+ usr/bin/update-desktop-database usr/share/applications &> /dev/null
fi
+
diff --git a/system/gparted/gparted.SlackBuild b/system/gparted/gparted.SlackBuild
index b85671fff8a4..2a6d7db67e2c 100644
--- a/system/gparted/gparted.SlackBuild
+++ b/system/gparted/gparted.SlackBuild
@@ -8,7 +8,7 @@ VERSION=0.3.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -39,10 +39,10 @@ make || exit 1
make install DESTDIR=$PKG || exit 1
find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-sed -i 's|Icon=gparted.png|Icon=/usr/share/pixmaps/gparted.png|' $PKG/usr/share/applications/gparted.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/system/gparted/gparted.info b/system/gparted/gparted.info
index 5b3b6172d494..8d361af58344 100644
--- a/system/gparted/gparted.info
+++ b/system/gparted/gparted.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://dl.sourceforge.net/sourceforge/gparted/gparted-0.3.3.tar.bz2"
MD5SUM="f3d16ccfda72fa1dac9fa1ff9ded2c42"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="BP{k}"
+APPROVED="BP{k},rworkman"
diff --git a/system/gparted/slack-desc b/system/gparted/slack-desc
index fc92e5377862..c8e121f2631a 100644
--- a/system/gparted/slack-desc
+++ b/system/gparted/slack-desc
@@ -1,4 +1,12 @@
-gparted: Gnome Partition Editor
+# 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------------------------------------------------------|
+gparted: gparted (Gnome Partition Editor)
gparted:
gparted: GParted uses GNU libparted to detect and manipulate devices and
gparted: partition tables. Several (optional) "file system" tools provide