aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-12-30 00:33:12 -0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-31 18:59:53 -0600
commit905a6833534d372561933c3b920cdd5aef662109 (patch)
treeb4b8c9a5b4500f74db6ad83d81d4dc5aba18f178 /desktop
parent9955b3908aaee2924402b4dc5159cf4b29bdbfd8 (diff)
desktop/xfce4-sensors-plugin: Updated for version 1.0.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xfce4-sensors-plugin/doinst.sh10
-rw-r--r--desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.SlackBuild5
-rw-r--r--desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.info8
3 files changed, 16 insertions, 7 deletions
diff --git a/desktop/xfce4-sensors-plugin/doinst.sh b/desktop/xfce4-sensors-plugin/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/desktop/xfce4-sensors-plugin/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /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/desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.SlackBuild b/desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.SlackBuild
index f78a2ca62fab3..eb943d7a38386 100644
--- a/desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.SlackBuild
+++ b/desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfce4-sensors-plugin
-VERSION=0.10.99.6
+VERSION=1.0.0
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
@@ -98,6 +96,7 @@ 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-sensors-plugin/xfce4-sensors-plugin.info b/desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.info
index 644584f214a2f..cb50b7f1c0872 100644
--- a/desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.info
+++ b/desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.info
@@ -1,10 +1,10 @@
PRGNAM="xfce4-sensors-plugin"
-VERSION="0.10.99.6"
+VERSION="1.0.0"
HOMEPAGE="http://goodies.xfce.org/"
-DOWNLOAD="http://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/0.10/xfce4-sensors-plugin-0.10.99.6.tar.bz2"
-MD5SUM="59dbd13b32bf635fab9cd2dc407183cb"
+DOWNLOAD="http://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.0/xfce4-sensors-plugin-1.0.0.tar.bz2"
+MD5SUM="74d83628246536d575f954c76724982b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="dsomero"
+APPROVED="Niels Horn"