diff options
author | eroc <eroc@linuxmail.org> | 2010-05-11 19:46:23 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:46:23 +0200 |
commit | 5d5d15646d6acd1127e12a9333410062b388917b (patch) | |
tree | 3c73ec07320c73b807fcc5225c70f8d4a561e440 /system/conky/conky.SlackBuild | |
parent | f42c506140273d86f99bca954924d811307d1283 (diff) |
system/conky: Updated for version 1.4.7
Diffstat (limited to 'system/conky/conky.SlackBuild')
-rw-r--r-- | system/conky/conky.SlackBuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild index 391fa23ef5d6..2a2d52b4fd89 100644 --- a/system/conky/conky.SlackBuild +++ b/system/conky/conky.SlackBuild @@ -3,16 +3,12 @@ # Slackware build script for conky # Written by eroc <eroc@linuxmail.org> -# 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 |