aboutsummaryrefslogtreecommitdiff
path: root/academic/wmcalc
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-10-10 16:10:32 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-15 07:10:10 +0700
commit7efbeff6c31720a1a95b0bdf3483f11828082094 (patch)
treedd5761c07bfcc261b591798c63d2d127be308564 /academic/wmcalc
parent88128737bfe6513a1a34273e721046f6be1884d2 (diff)
academic/wmcalc: Updated for version 0.6.
Diffstat (limited to 'academic/wmcalc')
-rw-r--r--academic/wmcalc/wmcalc.SlackBuild16
-rw-r--r--academic/wmcalc/wmcalc.info8
2 files changed, 16 insertions, 8 deletions
diff --git a/academic/wmcalc/wmcalc.SlackBuild b/academic/wmcalc/wmcalc.SlackBuild
index 27383497f1954..c8e2eb286b6a4 100644
--- a/academic/wmcalc/wmcalc.SlackBuild
+++ b/academic/wmcalc/wmcalc.SlackBuild
@@ -37,11 +37,19 @@
# - i486 => i586
# - use tarball hosted on naptime, to avoid md5sum mismatches
+# 20161010 bkw:
+# - version bump, BUILD=1
+# - previous version installed man page in wrong place
+
PRGNAM=wmcalc
-VERSION=${VERSION:-0.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# annoyingly, the directory inside the tarball isn't named $PRGNAM-$VERSION
+# or even just $PRGNAM. Instead:
+TARDIR=dockapps-43ddcdf
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -74,9 +82,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $TARDIR
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $TARDIR
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/academic/wmcalc/wmcalc.info b/academic/wmcalc/wmcalc.info
index 6cffd7234f0da..65c277af2d87b 100644
--- a/academic/wmcalc/wmcalc.info
+++ b/academic/wmcalc/wmcalc.info
@@ -1,8 +1,8 @@
PRGNAM="wmcalc"
-VERSION="0.5"
-HOMEPAGE="http://windowmaker.org/dockapps/?name=wmcalc"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/wmcalc-0.5.tar.gz"
-MD5SUM="212f8404d490bdd1c6dd20fd97022564"
+VERSION="0.6"
+HOMEPAGE="http://www.dockapps.net/wmcalc"
+DOWNLOAD="http://www.dockapps.net/download/wmcalc-0.6.tar.gz"
+MD5SUM="0d84c4e1cdb8742c5abf03a34ea03540"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""