summaryrefslogtreecommitdiffstats
path: root/misc/rlwrap
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rlwrap')
-rw-r--r--misc/rlwrap/rlwrap.SlackBuild19
-rw-r--r--misc/rlwrap/rlwrap.info6
2 files changed, 16 insertions, 9 deletions
diff --git a/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild
index bac71af78b..dc80cf1763 100644
--- a/misc/rlwrap/rlwrap.SlackBuild
+++ b/misc/rlwrap/rlwrap.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rlwrap
# Written by slakmagik <slakmagik@gmail.com>
-# Updated 2017 by Andrew Clemons, Wellington New Zealand
+# Updated 2017,2021 by Andrew Clemons, Wellington New Zealand
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rlwrap
-VERSION=${VERSION:-0.43}
+VERSION=${VERSION:-0.46.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,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}
@@ -69,7 +76,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PLEA README TODO \
+ AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -77,4 +84,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/misc/rlwrap/rlwrap.info b/misc/rlwrap/rlwrap.info
index 3d7bd39da1..5fff7f7bba 100644
--- a/misc/rlwrap/rlwrap.info
+++ b/misc/rlwrap/rlwrap.info
@@ -1,8 +1,8 @@
PRGNAM="rlwrap"
-VERSION="0.43"
+VERSION="0.46.1"
HOMEPAGE="https://github.com/hanslub42/rlwrap"
-DOWNLOAD="https://github.com/hanslub42/rlwrap/archive/v0.43/rlwrap-0.43.tar.gz"
-MD5SUM="361d54b7127374e5761e0738eb7b88fb"
+DOWNLOAD="https://github.com/hanslub42/rlwrap/archive/0.46.1/rlwrap-0.46.1.tar.gz"
+MD5SUM="7c585b2c90765326bc4d21a145575cb9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""