diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:40:29 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:40:29 +0200 |
commit | 81b725457697bfd2d384253d2a5061812c5b5709 (patch) | |
tree | ee4f7c003dde9f9470e8f36228fbdaba18114741 /system/gparted | |
parent | 037120048ad525d018eb27d736f3d3f676c5f157 (diff) |
system/gparted: Updated for version 0.4.8
Diffstat (limited to 'system/gparted')
-rw-r--r-- | system/gparted/README | 2 | ||||
-rw-r--r-- | system/gparted/doinst.sh | 9 | ||||
-rw-r--r-- | system/gparted/gparted.SlackBuild | 30 | ||||
-rw-r--r-- | system/gparted/gparted.info | 10 | ||||
-rw-r--r-- | system/gparted/slack-desc | 10 |
5 files changed, 45 insertions, 16 deletions
diff --git a/system/gparted/README b/system/gparted/README index edb38d0881868..0a534a7910157 100644 --- a/system/gparted/README +++ b/system/gparted/README @@ -5,4 +5,4 @@ packages will be detected at runtime and do not require a rebuild of GParted. GParted is written in C++ and uses gtkmm for it's Graphical User Interface (GUI). -Requires gtkmm, which is available at slackbuilds.org
\ No newline at end of file +This requires gtkmm. diff --git a/system/gparted/doinst.sh b/system/gparted/doinst.sh index 3857649f506a8..1f8ff67dedb29 100644 --- a/system/gparted/doinst.sh +++ b/system/gparted/doinst.sh @@ -1,3 +1,10 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/system/gparted/gparted.SlackBuild b/system/gparted/gparted.SlackBuild index 14d6a99aca6db..9001ea5787374 100644 --- a/system/gparted/gparted.SlackBuild +++ b/system/gparted/gparted.SlackBuild @@ -1,10 +1,29 @@ #!/bin/sh - +# # Slackware build script for GParted -# Written by Erik Hanson erik@slackbuilds.org +# +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gparted -VERSION=0.4.5 +VERSION=0.4.8 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,7 +59,8 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --disable-doc + --disable-doc \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -55,4 +75,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/gparted/gparted.info b/system/gparted/gparted.info index 53532ad8e66da..43b986ffdf610 100644 --- a/system/gparted/gparted.info +++ b/system/gparted/gparted.info @@ -1,8 +1,10 @@ PRGNAM="gparted" -VERSION="0.4.5" +VERSION="0.4.8" HOMEPAGE="http://gparted.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/gparted/gparted-0.4.5.tar.bz2" -MD5SUM="d3c7034fb843c2769e59c77d6f4f890a" +DOWNLOAD="http://downloads.sourceforge.net/gparted/gparted-0.4.8.tar.bz2" +MD5SUM="2433b628df9c6cae2022a54d27368dc4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="chess" +APPROVED="rworkman" diff --git a/system/gparted/slack-desc b/system/gparted/slack-desc index c8e121f2631a9..737cb249cc7b1 100644 --- a/system/gparted/slack-desc +++ b/system/gparted/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| gparted: gparted (Gnome Partition Editor) -gparted: +gparted: gparted: GParted uses GNU libparted to detect and manipulate devices and -gparted: partition tables. Several (optional) "file system" tools provide -gparted: support for file systems not included in libparted. These optional +gparted: partition tables. Several (optional) "file system" tools provide +gparted: support for file systems not included in libparted. These optional gparted: packages will be detected at runtime and do not require a rebuild -gparted: of GParted. GParted is written in C++ and uses gtkmm for it's +gparted: of GParted. GParted is written in C++ and uses gtkmm for its gparted: Graphical User Interface (GUI). -gparted: +gparted: gparted: http://gparted.sourceforge.net/ gparted: |