aboutsummaryrefslogtreecommitdiff
path: root/system/unar/unar.SlackBuild
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2019-04-18 15:52:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-18 15:52:49 +0700
commitd11e66e2d6f7918a70af57d90bbae3296042425c (patch)
treea2d00ca0a8c3d2d7508710bb88cae1c5d3914276 /system/unar/unar.SlackBuild
parenteff8164b5df268bdc796a00a890714f05dbcc0e2 (diff)
system/unar: Updated for version 1.10.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/unar/unar.SlackBuild')
-rw-r--r--system/unar/unar.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/system/unar/unar.SlackBuild b/system/unar/unar.SlackBuild
index a2c7d2dfcc13c..961071e6a3e0f 100644
--- a/system/unar/unar.SlackBuild
+++ b/system/unar/unar.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unar
-VERSION=${VERSION:-1.10.3}
-SVERSION=${SVERSION:-1.10.4}
+VERSION=${VERSION:-1.10.5}
+UDVERSION=${UDVERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,9 +56,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf XADMaster UniversalDetector
-unzip $CWD/unar-sources-$SVERSION.zip
-cd XADMaster
+rm -rf XADMaster-$VERSION UniversalDetector
+tar xvf $CWD/XADMaster-$VERSION.tar.gz
+tar xvf $CWD/universal-detector-$UDVERSION.tar.gz
+mv universal-detector-$UDVERSION UniversalDetector
+cd XADMaster-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,13 +78,13 @@ mkdir -p $PKG/usr/bin
install -m 0755 -o root -g root lsar unar $PKG/usr/bin/
mkdir -p $PKG/usr/man/man1
-install -m 0644 -o root -g root $CWD/Extra/lsar.1 $CWD/Extra/unar.1 \
+install -m 0644 -o root -g root Extra/lsar.1 Extra/unar.1 \
$PKG/usr/man/man1
mkdir -p $PKG/usr/share/bash-completion/completions
-install -m 0644 -o root -g root $CWD/Extra/unar.bash_completion \
+install -m 0644 -o root -g root Extra/unar.bash_completion \
$PKG/usr/share/bash-completion/completions/unar
-install -m 0644 -o root -g root $CWD/Extra/lsar.bash_completion \
+install -m 0644 -o root -g root Extra/lsar.bash_completion \
$PKG/usr/share/bash-completion/completions/lsar
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \