aboutsummaryrefslogtreecommitdiff
path: root/development/mads/mads.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-11-29 02:09:05 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:18 +0700
commit2e9e6bf803972bcce07564bcfafb68a4b3a0fb71 (patch)
tree8a0574cf2f390afc7d1ba6010819ab52d146806d /development/mads/mads.SlackBuild
parent57d002e10b14f8ef506c574cb9bac64390c040cf (diff)
development/mads: Updated for version 2.1.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/mads/mads.SlackBuild')
-rw-r--r--development/mads/mads.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/development/mads/mads.SlackBuild b/development/mads/mads.SlackBuild
index 4d3d2a184c1b8..fc9ae7576116d 100644
--- a/development/mads/mads.SlackBuild
+++ b/development/mads/mads.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=mads
-VERSION=${VERSION:-2.0.7}
+VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,9 @@ cp -a syntax/vim-mads-master/LICENSE \
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
-cp -a examples readme $PKGDOC
+for i in examples readme doc; do
+ [ -e "$i" ] && cp -a "$i" $PKGDOC
+done
cat $CWD/README > $PKGDOC/README
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild