summaryrefslogtreecommitdiffstats
path: root/system/magiic
diff options
context:
space:
mode:
Diffstat (limited to 'system/magiic')
-rw-r--r--system/magiic/README13
-rw-r--r--system/magiic/magiic.SlackBuild18
-rw-r--r--system/magiic/magiic.info6
-rw-r--r--system/magiic/slack-desc4
4 files changed, 27 insertions, 14 deletions
diff --git a/system/magiic/README b/system/magiic/README
index 963a67051b..7b8a14087c 100644
--- a/system/magiic/README
+++ b/system/magiic/README
@@ -1,12 +1,15 @@
magiic is a simple front for slackpkg, written in dialog.
With him you can:
-
* List of mirrors
- * Check for system updates
- * Update de mirror
- * List all unofficial packages for remove.
- * Search for package
+ * Check for system update
+ * Update the mirror
+ * List all unofficial packages for removal
+ * Check package information
+ * Search for a package
* Install a new package
+ * Reinstall package
* Remove a package
* Upgrade packages
+
+NOTE: Not all slackpkg features are available, just the main features.
diff --git a/system/magiic/magiic.SlackBuild b/system/magiic/magiic.SlackBuild
index dff482ead7..c4b9ee395a 100644
--- a/system/magiic/magiic.SlackBuild
+++ b/system/magiic/magiic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for magiic
# Copyright 2020 Jefferson 'Slackjeff' Rocha <root@slackjeff.com.br>
@@ -21,13 +21,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=magiic
-VERSION=${VERSION:-0.2}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -57,4 +67,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/magiic/magiic.info b/system/magiic/magiic.info
index e59395fddd..79462714de 100644
--- a/system/magiic/magiic.info
+++ b/system/magiic/magiic.info
@@ -1,8 +1,8 @@
PRGNAM="magiic"
-VERSION="0.2"
+VERSION="0.3.1"
HOMEPAGE="https://github.com/slackjeff/magiic/"
-DOWNLOAD="https://github.com/slackjeff/magiic/raw/master/magiic-0.2.tar.xz"
-MD5SUM="b9922e980cfb540d62253f2c348ff7f2"
+DOWNLOAD="https://sourceforge.net/projects/magiic/files/magiic-0.3.1.tar.xz"
+MD5SUM="c06b2a6f098f15b935bb8f13d740e426"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/magiic/slack-desc b/system/magiic/slack-desc
index 6a77067537..83566e961a 100644
--- a/system/magiic/slack-desc
+++ b/system/magiic/slack-desc
@@ -6,9 +6,9 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-magiic: magiic (Simple front for Slackpkg)
+magiic: magiic (Simple frontend for Slackpkg)
magiic:
-magiic: magiic is a simple front for slackpkg, written in dialog.
+magiic: magiic is a simple frontend for slackpkg, written in dialog.
magiic:
magiic:
magiic: