diff options
author | B. Watson <yalhcru@gmail.com> | 2016-10-10 16:10:32 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-15 07:10:10 +0700 |
commit | 7efbeff6c31720a1a95b0bdf3483f11828082094 (patch) | |
tree | dd5761c07bfcc261b591798c63d2d127be308564 /academic/wmcalc/wmcalc.SlackBuild | |
parent | 88128737bfe6513a1a34273e721046f6be1884d2 (diff) |
academic/wmcalc: Updated for version 0.6.
Diffstat (limited to 'academic/wmcalc/wmcalc.SlackBuild')
-rw-r--r-- | academic/wmcalc/wmcalc.SlackBuild | 16 |
1 files changed, 12 insertions, 4 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 \ |