summaryrefslogtreecommitdiffstats
path: root/source/n/npth
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/npth')
-rwxr-xr-xsource/n/npth/npth.SlackBuild6
-rw-r--r--source/n/npth/npth.url1
2 files changed, 4 insertions, 3 deletions
diff --git a/source/n/npth/npth.SlackBuild b/source/n/npth/npth.SlackBuild
index a838786e6..4dc45b33c 100755
--- a/source/n/npth/npth.SlackBuild
+++ b/source/n/npth/npth.SlackBuild
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=npth
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -68,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \
diff --git a/source/n/npth/npth.url b/source/n/npth/npth.url
new file mode 100644
index 000000000..12816ad99
--- /dev/null
+++ b/source/n/npth/npth.url
@@ -0,0 +1 @@
+ftp.gnupg.org:/gcrypt/npth