summaryrefslogtreecommitdiffstats
path: root/system/unar
diff options
context:
space:
mode:
Diffstat (limited to 'system/unar')
-rw-r--r--system/unar/unar.SlackBuild17
-rw-r--r--system/unar/unar.info6
2 files changed, 15 insertions, 8 deletions
diff --git a/system/unar/unar.SlackBuild b/system/unar/unar.SlackBuild
index bf543ed322..43ac01aa34 100644
--- a/system/unar/unar.SlackBuild
+++ b/system/unar/unar.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <appname>
-# Copyright 2016-2020 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2016-2023 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# 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=unar
-VERSION=${VERSION:-1.10.7}
+VERSION=${VERSION:-1.10.8}
UDVERSION=${UDVERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+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}
@@ -101,4 +108,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/unar/unar.info b/system/unar/unar.info
index d0aad06e4a..35ebada0b2 100644
--- a/system/unar/unar.info
+++ b/system/unar/unar.info
@@ -1,9 +1,9 @@
PRGNAM="unar"
-VERSION="1.10.7"
+VERSION="1.10.8"
HOMEPAGE="https://theunarchiver.com/command-line"
-DOWNLOAD="https://github.com/MacPaw/XADMaster/archive/v1.10.7/XADMaster-1.10.7.tar.gz \
+DOWNLOAD="https://github.com/MacPaw/XADMaster/archive/v1.10.8/XADMaster-1.10.8.tar.gz \
https://github.com/MacPaw/universal-detector/archive/1.1/universal-detector-1.1.tar.gz"
-MD5SUM="6cbb0629367e4f0fc0eac5af39786c6d \
+MD5SUM="3199b8ffdb9ceb67d1809befca9bd712 \
5c87b87c72609b23110236c6d7aac8e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""