aboutsummaryrefslogtreecommitdiff
path: root/desktop/xfce4-cpugraph-plugin
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-12-29 23:47:33 -0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-31 18:59:53 -0600
commitefef690daaa26fab061edd62bfca5efeb87531e7 (patch)
tree74e3a88e5f12718785c18670ba2433977348bc9f /desktop/xfce4-cpugraph-plugin
parentc0d1c1214aafec5a24dc6be2625aaac77d7d53b0 (diff)
desktop/xfce4-cpugraph-plugin: Updated for version 1.0.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-cpugraph-plugin')
-rw-r--r--desktop/xfce4-cpugraph-plugin/doinst.sh6
-rw-r--r--desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild11
-rw-r--r--desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.info8
3 files changed, 14 insertions, 11 deletions
diff --git a/desktop/xfce4-cpugraph-plugin/doinst.sh b/desktop/xfce4-cpugraph-plugin/doinst.sh
new file mode 100644
index 0000000000000..30eb690936b52
--- /dev/null
+++ b/desktop/xfce4-cpugraph-plugin/doinst.sh
@@ -0,0 +1,6 @@
+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/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
index 84367831c1983..bd9e2fd391381 100644
--- a/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
+++ b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfce4-cpugraph-plugin
-VERSION=0.4.0
+VERSION=1.0.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -62,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -77,8 +75,6 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/xfce \
- --enable-shared=yes \
- --enable-static=no \
--enable-debug=no \
--build=$ARCH-slackware-linux
@@ -90,12 +86,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
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.${PKGTYPE:-tgz}
diff --git a/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.info b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.info
index 8e6fe97866d22..a85bd1f41785a 100644
--- a/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.info
+++ b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.info
@@ -1,10 +1,10 @@
PRGNAM="xfce4-cpugraph-plugin"
-VERSION="0.4.0"
+VERSION="1.0.1"
HOMEPAGE="http://goodies.xfce.org/"
-DOWNLOAD="http://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/0.4/xfce4-cpugraph-plugin-0.4.0.tar.gz"
-MD5SUM="246697fc1e1ec5009aea34d4ef1dca95"
+DOWNLOAD="http://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/1.0/xfce4-cpugraph-plugin-1.0.1.tar.bz2"
+MD5SUM="ff551087b1f61c47b8746e8687c572aa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="Erik Hanson"
+APPROVED="Niels Horn"