summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
author M.Dinslage2010-07-06 09:29:16 +0200
committer Erik Hanson2010-07-06 09:29:16 +0200
commit86be5938d58bceb5493c70351a7178217b9e9b63 (patch)
tree11571e8c63c48031d7de5ec70f9ed2f56220aaed /misc
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')
-rw-r--r--misc/conkyforecast/README5
-rw-r--r--misc/conkyforecast/conkyforecast.SlackBuild17
-rw-r--r--misc/conkyforecast/conkyforecast.info8
3 files changed, 8 insertions, 22 deletions
diff --git a/misc/conkyforecast/README b/misc/conkyforecast/README
index 8aa7b8599c..10f89030be 100644
--- a/misc/conkyforecast/README
+++ b/misc/conkyforecast/README
@@ -1,8 +1,5 @@
-conkyforecast (Provides weather information to be displayed in conky)
-
conkyForecast is a python script created to provide weather forecast
information to be displayed in Conky. It uses the Weather.com XOAP
service to retrieve data for all over the world.
-Requires: cronky available at SlackBuilds.org.
-
+Requires: conky available at SlackBuilds.org.
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
diff --git a/misc/conkyforecast/conkyforecast.info b/misc/conkyforecast/conkyforecast.info
index e11d2f2f69..b296f0a4a8 100644
--- a/misc/conkyforecast/conkyforecast.info
+++ b/misc/conkyforecast/conkyforecast.info
@@ -1,10 +1,10 @@
PRGNAM="conkyforecast"
-VERSION="2.09"
+VERSION="2.10"
HOMEPAGE="https://code.launchpad.net/~m-buck/+junk/conkyforecast"
-DOWNLOAD="https://launchpad.net/%7Em-buck/+archive/conky/+files/conkyforecast_2.09.tar.gz"
-MD5SUM="59df6be9114bb377526b2511daca355a"
+DOWNLOAD="https://launchpad.net/~conkyhardcore/+archive/ppa/+files/conkyforecast_2.10.tar.gz"
+MD5SUM="97adf45df90eb64e6edd7aee814b3f3f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="M.Dinslage"
EMAIL="daedra1980@gmail.com"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"