diff options
Diffstat (limited to 'development/mads/mads.SlackBuild')
-rw-r--r-- | development/mads/mads.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/development/mads/mads.SlackBuild b/development/mads/mads.SlackBuild index 4d3d2a184c..fc9ae75761 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 |