summaryrefslogtreecommitdiffstats
path: root/system/archivemount
diff options
context:
space:
mode:
Diffstat (limited to 'system/archivemount')
-rw-r--r--system/archivemount/archivemount.SlackBuild15
-rw-r--r--system/archivemount/archivemount.info4
2 files changed, 13 insertions, 6 deletions
diff --git a/system/archivemount/archivemount.SlackBuild b/system/archivemount/archivemount.SlackBuild
index 4b2001ae1d..cb5b895f82 100644
--- a/system/archivemount/archivemount.SlackBuild
+++ b/system/archivemount/archivemount.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for archivemount
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -10,10 +10,13 @@
# for pointing out the real homepage and new version of archivemount.
# Also, reflowed the README, all the lines are <= 72 characters now.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=archivemount
VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,7 +26,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}
@@ -83,4 +90,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/archivemount/archivemount.info b/system/archivemount/archivemount.info
index 0a2296ff0b..108af2980c 100644
--- a/system/archivemount/archivemount.info
+++ b/system/archivemount/archivemount.info
@@ -1,10 +1,10 @@
PRGNAM="archivemount"
VERSION="0.9.1"
HOMEPAGE="https://www.cybernoia.de/software/archivemount.html"
-DOWNLOAD="https://www.cybernoia.de/software/archivemount/archivemount-0.9.1.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/archivemount-0.9.1.tar.gz"
MD5SUM="954c096230ab1e1f7153555c0221b37d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"