From 905a6833534d372561933c3b920cdd5aef662109 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 30 Dec 2010 00:33:12 -0200 Subject: desktop/xfce4-sensors-plugin: Updated for version 1.0.0. Signed-off-by: Niels Horn --- desktop/xfce4-sensors-plugin/doinst.sh | 10 ++++++++++ desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.SlackBuild | 5 ++--- desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.info | 8 ++++---- 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 desktop/xfce4-sensors-plugin/doinst.sh (limited to 'desktop') diff --git a/desktop/xfce4-sensors-plugin/doinst.sh b/desktop/xfce4-sensors-plugin/doinst.sh new file mode 100644 index 0000000000..1f8ff67ded --- /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 f78a2ca62f..eb943d7a38 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 644584f214..cb50b7f1c0 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" -- cgit v1.2.3