summaryrefslogtreecommitdiffstats
path: root/development/mg-troglobit
diff options
context:
space:
mode:
author Marco Marini <saidone@saidone.org>2023-04-20 22:11:47 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-22 11:38:29 +0700
commit7c43b089a2d3781088d3fb4952a4995bf2a41e71 (patch)
tree62fbea18089363d88a5116a440a68113bf171c70 /development/mg-troglobit
parent44c088db793d9490ae359ea750331714e7adc794 (diff)
downloadslackbuilds-7c43b089a2d3781088d3fb4952a4995bf2a41e71.tar.gz
slackbuilds-7c43b089a2d3781088d3fb4952a4995bf2a41e71.tar.xz
development/mg-troglobit: Updated for version 3.6.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mg-troglobit')
-rw-r--r--development/mg-troglobit/LICENSE21
-rw-r--r--development/mg-troglobit/README.md14
-rw-r--r--development/mg-troglobit/mg-troglobit.SlackBuild37
-rw-r--r--development/mg-troglobit/mg-troglobit.info6
4 files changed, 47 insertions, 31 deletions
diff --git a/development/mg-troglobit/LICENSE b/development/mg-troglobit/LICENSE
new file mode 100644
index 0000000000..572f5a4214
--- /dev/null
+++ b/development/mg-troglobit/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 Marco Marini
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/development/mg-troglobit/README.md b/development/mg-troglobit/README.md
new file mode 100644
index 0000000000..52caf8a478
--- /dev/null
+++ b/development/mg-troglobit/README.md
@@ -0,0 +1,14 @@
+# mg-troglobit.SlackBuild
+
+A SlackBuild for Joachim Wiberg (troglobit)'s fork of OpenBSD Mg (https://github.com/troglobit/mg)
+
+The usage is the very same of https://slackbuilds.org/howto/
+
+Get the Mg source code here: https://github.com/troglobit/mg/releases/download/v3.6/mg-3.6.tar.gz
+
+![Mg-troglobit on Slackware 14.0](https://i.postimg.cc/zfhpDNxc/mg36.png "Mg-troglobit on Slackware 14.0")
+
+## License
+Copyright (c) 2020-2023 Saidone
+
+Distributed under the MIT License
diff --git a/development/mg-troglobit/mg-troglobit.SlackBuild b/development/mg-troglobit/mg-troglobit.SlackBuild
index 3dae1556e4..198ad462e4 100644
--- a/development/mg-troglobit/mg-troglobit.SlackBuild
+++ b/development/mg-troglobit/mg-troglobit.SlackBuild
@@ -1,33 +1,13 @@
-#!/bin/bash -e
+#!/bin/bash
# Slackware build script for Joachim Wiberg (troglobit)'s fork of OpenBSD Mg
-# saidone@saidone.org revision date 2020/08/24
-#
-# Copyright (c) 2019 Marco Marini
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
+# saidone@saidone.org revision date 2023/04/10
+# license (of this script and its accessories, not that of the application it will package): see LICENSE
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mg-troglobit
-SRCNAM=${PRGNAM%-*}
-VERSION=${VERSION:-3.5}
+VERSION=${VERSION:-3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,9 +51,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM/troglobit/}$VERSION.tar.gz
+mv ${PRGNAM/troglobit/}$VERSION $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -110,7 +91,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
gzip -9 $PKG/usr/doc/$PRGNAM-$VERSION/tutorial
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/{*.md,.mg}
+rm $PKG/usr/doc/$PRGNAM-$VERSION/*.md
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/mg-troglobit/mg-troglobit.info b/development/mg-troglobit/mg-troglobit.info
index e9a82455fa..21d7da8ba1 100644
--- a/development/mg-troglobit/mg-troglobit.info
+++ b/development/mg-troglobit/mg-troglobit.info
@@ -1,8 +1,8 @@
PRGNAM="mg-troglobit"
-VERSION="3.5"
+VERSION="3.6"
HOMEPAGE="https://github.com/troglobit/mg"
-DOWNLOAD="https://github.com/troglobit/mg/releases/download/v3.5/mg-3.5.tar.gz"
-MD5SUM="a4221d03ca55b9697bddb7243d35a3fe"
+DOWNLOAD="https://github.com/troglobit/mg/releases/download/v3.6/mg-3.6.tar.gz"
+MD5SUM="a6eab531431abd3c9e1dbb18749e30b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""