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>
This commit is contained in:
Dave Woodfall 2020-07-16 05:08:18 +01:00 committed by Willy Sudiarto Raharjo
parent e739f6ed33
commit 72cb24cd92
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
4 changed files with 27 additions and 19 deletions

View File

@ -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.

View File

@ -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 "

View File

@ -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"

View File

@ -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: