summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-07-16 05:08:18 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-29 10:08:43 +0700
commit72cb24cd92965fef77368b9eb2e7942f31aa4c1b (patch)
treef9b87ca1a7a72388e763a934a9dce7de8f000334 /system
parente739f6ed33e43c9bad2dc38109bb172e0b7e4363 (diff)
downloadslackbuilds-72cb24cd92965fef77368b9eb2e7942f31aa4c1b.tar.gz
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')
-rw-r--r--system/mkslack/README14
-rw-r--r--system/mkslack/mkslack.SlackBuild12
-rw-r--r--system/mkslack/mkslack.info8
-rw-r--r--system/mkslack/slack-desc12
4 files changed, 27 insertions, 19 deletions
diff --git a/system/mkslack/README b/system/mkslack/README
index e30ce3d17c..02924bf5f3 100644
--- a/system/mkslack/README
+++ b/system/mkslack/README
@@ -1,6 +1,12 @@
-mkslack - a SlackBuild generator
+NAME
+ mkslack - a SlackBuild generator
-mkslack generates SlackBuild scripts and supporting files using the
-standard SBo templates found at https://slackbuilds.org/templates/
+SYNOPSIS
+ mkslack [options] archive
-mkslack [options] archive
+DESCRIPTION
+ mkslack generates SlackBuild scripts and supporting
+ files using the standard SBo templates found at
+ https://slackbuilds.org/templates/
+
+ See mkslack(1) for comprehensive option descriptions.
diff --git a/system/mkslack/mkslack.SlackBuild b/system/mkslack/mkslack.SlackBuild
index 1f216ff64e..74a1cfdf11 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 "
diff --git a/system/mkslack/mkslack.info b/system/mkslack/mkslack.info
index aa0d1d5b5d..027adafdcf 100644
--- a/system/mkslack/mkslack.info
+++ b/system/mkslack/mkslack.info
@@ -1,10 +1,10 @@
PRGNAM="mkslack"
-VERSION="5.3.0"
+VERSION="5.3.4"
HOMEPAGE="http://tty1.uk/slackbuilds/mkslack"
-DOWNLOAD="http://git.tty1.uk/cgit.cgi/mkslack/snapshot/mkslack-5.3.0.tar.gz"
-MD5SUM="d58dff15c9621d2c2d6aacd6eec42372"
+DOWNLOAD="http://git.tty1.uk/cgit.cgi/mkslack/snapshot/mkslack-5.3.4.tar.gz"
+MD5SUM="52ca236c0a1504032736f78e93afaf12"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dave Woodfall"
-EMAIL="dave@tty1.uk"
+EMAIL="dave@slackbuilds.org"
diff --git a/system/mkslack/slack-desc b/system/mkslack/slack-desc
index f96062efc2..6d4735561d 100644
--- a/system/mkslack/slack-desc
+++ b/system/mkslack/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
mkslack: mkslack (a SlackBuild generation system)
mkslack:
-mkslack: mkslack uses templates to generate slackbuilds and .info files.
-mkslack: It fills in various things like PRGNAM, VERSION etc and inspects the
-mkslack: archive for man, info and documentation. It checks md5sum of archive
-mkslack: and writes it into the .info file.
+mkslack: mkslack generates SlackBuild scripts and supporting files using the
+mkslack: standard SBo templates found at https://slackbuilds.org/templates/
+mkslack:
+mkslack: See mkslack(1) for comprehensive option descriptions.
+mkslack:
+mkslack: http://tty1.uk/slackbuilds/mkslack
mkslack:
-mkslack: The config file /etc/mkslack/mkslack.conf should be customised with
-mkslack: your name, email etc. before use.
mkslack:
mkslack: