summaryrefslogtreecommitdiff
path: root/desktop/wmweather/wmweather.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmweather/wmweather.SlackBuild')
-rw-r--r--desktop/wmweather/wmweather.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/desktop/wmweather/wmweather.SlackBuild b/desktop/wmweather/wmweather.SlackBuild
index 8c86d39ea3..b656e8f4f4 100644
--- a/desktop/wmweather/wmweather.SlackBuild
+++ b/desktop/wmweather/wmweather.SlackBuild
@@ -2,20 +2,16 @@
# Slackware build script for wmweather
# Written by Cezary M. Kruk (c.kruk@bigfoot.com)
-#
-# Modified by the SlackBuilds.org project.
PRGNAM=wmweather
-VERSION=${VERSION:-2.4.4}
+VERSION=${VERSION:-2.4.5}
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
@@ -76,10 +72,7 @@ mv $PKG/etc/X11/WindowMaker/wmweather.conf \
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION