summaryrefslogtreecommitdiff
path: root/misc/conkyforecast/conkyforecast.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2010-07-06 02:29:16 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-06 02:29:16 -0500
commit86be5938d58bceb5493c70351a7178217b9e9b63 (patch)
tree11571e8c63c48031d7de5ec70f9ed2f56220aaed /misc/conkyforecast/conkyforecast.SlackBuild
parent87799655d49aca2a1a086d9ad4140254165f2f2e (diff)
downloadslackbuilds-86be5938d58bceb5493c70351a7178217b9e9b63.tar.gz
misc/conkyforecast: Updated for version 2.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/conkyforecast/conkyforecast.SlackBuild')
-rw-r--r--misc/conkyforecast/conkyforecast.SlackBuild17
1 files changed, 3 insertions, 14 deletions
diff --git a/misc/conkyforecast/conkyforecast.SlackBuild b/misc/conkyforecast/conkyforecast.SlackBuild
index 3e36e5defc..8a3257fdfb 100644
--- a/misc/conkyforecast/conkyforecast.SlackBuild
+++ b/misc/conkyforecast/conkyforecast.SlackBuild
@@ -5,19 +5,11 @@
# Written by M.Dinslage (daedra1980@gmail.com)
PRGNAM=conkyforecast
-VERSION=${VERSION:-2.09}
+VERSION=${VERSION:-2.10}
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
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -30,7 +22,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf src
-tar xvf $CWD/conkyforecast_2.09.tar.gz
+tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz
cd src
chown -R root:root .
find . \
@@ -44,9 +36,6 @@ sed -i 's,/usr/share/fonts/truetype/conkyforecast,/usr/share/fonts/TTF,g' setup.
python setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
# remove font .sfd files, they shouldn't be needed
rm -r $PKG/usr/share/fonts/TTF/*.tar.gz