diff options
-rw-r--r-- | desktop/xfce4-sensors-plugin/doinst.sh | 10 | ||||
-rw-r--r-- | desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.SlackBuild | 5 | ||||
-rw-r--r-- | desktop/xfce4-sensors-plugin/xfce4-sensors-plugin.info | 8 |
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 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" |