diff --git a/desktop/xfce4-netload-plugin/doinst.sh b/desktop/xfce4-netload-plugin/doinst.sh new file mode 100644 index 0000000000..30eb690936 --- /dev/null +++ b/desktop/xfce4-netload-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-netload-plugin/xfce4-netload-plugin.SlackBuild b/desktop/xfce4-netload-plugin/xfce4-netload-plugin.SlackBuild index 19fa20575d..2777394733 100644 --- a/desktop/xfce4-netload-plugin/xfce4-netload-plugin.SlackBuild +++ b/desktop/xfce4-netload-plugin/xfce4-netload-plugin.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xfce4-netload-plugin -VERSION=0.4.0 +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 @@ -76,8 +74,6 @@ CFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc/xfce \ - --enable-shared=yes \ - --enable-static=no \ --enable-debug=no \ --build=$ARCH-slackware-linux @@ -95,6 +91,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-netload-plugin/xfce4-netload-plugin.info b/desktop/xfce4-netload-plugin/xfce4-netload-plugin.info index 9838005a02..fb8b21da0e 100644 --- a/desktop/xfce4-netload-plugin/xfce4-netload-plugin.info +++ b/desktop/xfce4-netload-plugin/xfce4-netload-plugin.info @@ -1,10 +1,10 @@ PRGNAM="xfce4-netload-plugin" -VERSION="0.4.0" +VERSION="1.0.0" HOMEPAGE="http://goodies.xfce.org/" -DOWNLOAD="http://archive.xfce.org/src/panel-plugins/xfce4-netload-plugin/0.4/xfce4-netload-plugin-0.4.0.tar.bz2" -MD5SUM="a15ee479089ba7703c5dde33ff439573" +DOWNLOAD="http://archive.xfce.org/src/panel-plugins/xfce4-netload-plugin/1.0/xfce4-netload-plugin-1.0.0.tar.bz2" +MD5SUM="cab53e8cc2b9bfdf7ffd2230916ca3df" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="Erik Hanson" +APPROVED="Niels Horn"