diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2020-07-16 05:08:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-08-29 10:08:43 +0700 |
commit | 72cb24cd92965fef77368b9eb2e7942f31aa4c1b (patch) | |
tree | f9b87ca1a7a72388e763a934a9dce7de8f000334 /system/mkslack/mkslack.SlackBuild | |
parent | e739f6ed33e43c9bad2dc38109bb172e0b7e4363 (diff) |
system/mkslack: Updated for version 5.3.4.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mkslack/mkslack.SlackBuild')
-rw-r--r-- | system/mkslack/mkslack.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/system/mkslack/mkslack.SlackBuild b/system/mkslack/mkslack.SlackBuild index 1f216ff64ea7..74a1cfdf11f1 100644 --- a/system/mkslack/mkslack.SlackBuild +++ b/system/mkslack/mkslack.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mkslack -VERSION=${VERSION:-5.3.0} +VERSION=${VERSION:-5.3.4} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,8 +38,7 @@ README=$PKG/usr/doc/$PRGNAM-$VERSION/README set -e rm -rf $PKG -mkdir -p $TMP $OUTPUT \ - $PKG/usr/share/mkslack/templates +mkdir -p $TMP $OUTPUT $PKG/usr/share/mkslack/{templates,tools} cd $TMP rm -rf $PRGNAM-$VERSION @@ -52,12 +51,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i -e "s/@VERSION@/$VERSION/" mkslack.1 +sed -i -e "s/@VERSION@/$VERSION/g" mkslack.1 gzip mkslack.1 install -m 644 -D mkslack.1.gz $PKG/usr/man/man1/mkslack.1.gz install -m 755 -D mkslack $PKG/usr/bin/mkslack install -m 644 -D mkslack.conf.new $PKG/etc/mkslack/mkslack.conf.new install -m 644 templates/* $PKG/usr/share/mkslack/templates +install -m 644 tools/* $PKG/usr/share/mkslack/tools mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a original-templates $PKG/usr/doc/$PRGNAM-$VERSION @@ -65,9 +65,11 @@ cp -a original-templates $PKG/usr/doc/$PRGNAM-$VERSION # generate the README from some introductory text and a dump of the manual cat << EOF > $README mkslack - a SlackBuild generator script -Copyright 2010-2020 Dave Woodfall, modification by slakmagik + +Copyright 2010-2020 Dave Woodfall and slakmagik. mkslack is licensed under a "one-clause BSD/Slackware" license. See the script for the full text. + Homepage: http://tty1.uk/slackbuilds/noversion/mkslack EOF man ./mkslack.1.gz | col -b | expand | fmt -72 | cat -s | sed " |