diff options
-rw-r--r-- | system/lxtask/doinst.sh | 2 | ||||
-rw-r--r-- | system/lxtask/lxtask.SlackBuild | 22 | ||||
-rw-r--r-- | system/lxtask/lxtask.info | 8 |
3 files changed, 16 insertions, 16 deletions
diff --git a/system/lxtask/doinst.sh b/system/lxtask/doinst.sh index 3857649f50..5fb28930db 100644 --- a/system/lxtask/doinst.sh +++ b/system/lxtask/doinst.sh @@ -1,3 +1,3 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi diff --git a/system/lxtask/lxtask.SlackBuild b/system/lxtask/lxtask.SlackBuild index 7365e23b1e..b0e7e8a6c0 100644 --- a/system/lxtask/lxtask.SlackBuild +++ b/system/lxtask/lxtask.SlackBuild @@ -22,14 +22,14 @@ # SUCH DAMAGE. # ----------------------------------------------------------------------------- # -# Slackware SlackBuild script +# Slackware SlackBuild script # =========================== # By: Eric Hameleers <alien@slackware.com> # For: lxtask # Descr: simple task manager for LXDE # URL: http://lxde.sourceforge.net/ # Needs: lxde-common, lxpanel -# Changelog: +# Changelog: # 0.1-1: 04/Jun/2008 by Eric Hameleers <alien@slackware.com> # * Initial build. # 0.1.1-1: 11/sep/2009 by Eric Hameleers <alien@slackware.com> @@ -37,29 +37,29 @@ # 0.1.3-1: 12/sep/2010 by ponce <matteo.bernardini@gmail.com> # * Adapted to slackbuilds.org's autotools template. # * updated to latest version. -# +# 20111224_c77968d: 26/dec/2011 by ponce <matteo.bernardini@gmail.com> +# * updated. +# # Run 'sh lxtask.SlackBuild' to build a Slackware package. # The package is created in /tmp . -# Install using 'installpkg'. +# Install using 'installpkg'. # # ----------------------------------------------------------------------------- PRGNAM=lxtask -VERSION=${VERSION:-0.1.3} +VERSION=${VERSION:-20111224_c77968d} 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 -DOCS="AUTHORS COPYING ChangeLog NEWS README TODO" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -95,6 +95,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +sh autogen.sh || true + CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -111,10 +113,8 @@ make install-strip DESTDIR=$PKG # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc -type f -exec chmod 644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/lxtask/lxtask.info b/system/lxtask/lxtask.info index 19026341e1..9e1543583d 100644 --- a/system/lxtask/lxtask.info +++ b/system/lxtask/lxtask.info @@ -1,10 +1,10 @@ PRGNAM="lxtask" -VERSION="0.1.3" +VERSION="20111224_c77968d" HOMEPAGE="http://wiki.lxde.org/en/LXTask" -DOWNLOAD="http://download.sourceforge.net/lxde/lxtask-0.1.3.tar.gz" -MD5SUM="eccfb69ee1a209248b22a5f0a34a4734" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/lxtask-20111224_c77968d.tar.xz" +MD5SUM="d86d8f808b8d0be8c1e3430c13598397" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="ponce" EMAIL="matteo.bernardini@gmail.com" -APPROVED="dsomero" +APPROVED="Erik Hanson" |