From 5d5d15646d6acd1127e12a9333410062b388917b Mon Sep 17 00:00:00 2001 From: eroc Date: Tue, 11 May 2010 19:46:23 +0200 Subject: system/conky: Updated for version 1.4.7 --- system/conky/conky.SlackBuild | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'system/conky/conky.SlackBuild') diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild index 391fa23ef5..2a2d52b4fd 100644 --- a/system/conky/conky.SlackBuild +++ b/system/conky/conky.SlackBuild @@ -3,16 +3,12 @@ # Slackware build script for conky # Written by eroc -# Modified by the SlackBuilds.org project - -set -e - PRGNAM=conky -VERSION=1.4.5 +VERSION=1.4.7 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -23,12 +19,13 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 - +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+rw,go-w . @@ -42,9 +39,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -if [ -d $PKG/usr/man ]; then - gzip -9 $PKG/usr/man/man?/* -fi +mv $PKG/usr/share/man $PKG/usr/ +gzip -9 $PKG/usr/man/man?/* +rmdir $PKG/usr/share mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO doc/* $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3