aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-12 19:22:11 -0500
committerB. Watson <yalhcru@gmail.com>2022-03-12 19:22:11 -0500
commit56d72d5a5885549609797487f341a1ccfba83139 (patch)
treeab685660a11d4e4b9a75f21e46a5796f43bbd565 /system
parent29b9ebbb6b4d4084db34bdafc864b2d801838e5c (diff)
system/btop: Update to 15.0 template.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/btop/btop.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/btop/btop.SlackBuild b/system/btop/btop.SlackBuild
index 9d6248f291500..d3041c52025d8 100644
--- a/system/btop/btop.SlackBuild
+++ b/system/btop/btop.SlackBuild
@@ -22,6 +22,8 @@
# 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=btop
VERSION=${VERSION:-1.2.3}
BUILD=${BUILD:-1}
@@ -35,7 +37,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}