diff options
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 \ |