summaryrefslogtreecommitdiff
path: root/source/a/ncompress/ncompress.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/ncompress/ncompress.SlackBuild')
-rwxr-xr-xsource/a/ncompress/ncompress.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/a/ncompress/ncompress.SlackBuild b/source/a/ncompress/ncompress.SlackBuild
index 4f0216e2..ab595f39 100755
--- a/source/a/ncompress/ncompress.SlackBuild
+++ b/source/a/ncompress/ncompress.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2005-2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2005-2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ncompress
-VERSION=4.2.4.6
-BUILD=${BUILD:-2}
+VERSION=5.0
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -65,8 +65,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf ncompress-${VERSION}
-tar xzf $CWD/ncompress-${VERSION}.tar.gz
-cd ncompress-${VERSION}
+tar xf $CWD/ncompress-${VERSION}.tar.?z || exit 1
+cd ncompress-${VERSION} || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \