aboutsummaryrefslogtreecommitdiff
path: root/accessibility/pastebinit/pastebinit.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-02-09 17:57:26 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-10 16:17:27 +0700
commitbf58ce58a120c3a5378ffa457294ae1ca4fa383c (patch)
tree734db1c3f91540603b631f51e9216f9ed70b80ae /accessibility/pastebinit/pastebinit.SlackBuild
parent04a204a1b18580a14ebbf297faf1e70580be8704 (diff)
accessibility/pastebinit: Updated for version 1.6.2.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility/pastebinit/pastebinit.SlackBuild')
-rw-r--r--accessibility/pastebinit/pastebinit.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/accessibility/pastebinit/pastebinit.SlackBuild b/accessibility/pastebinit/pastebinit.SlackBuild
index db767bb4f68bc..0c035482eacfa 100644
--- a/accessibility/pastebinit/pastebinit.SlackBuild
+++ b/accessibility/pastebinit/pastebinit.SlackBuild
@@ -6,6 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240209 bkw: update for v1.6.2. Not sure if this is from the
+# original author or not; it's from launchpad.net, and is the
+# version that's in Ubuntu these days. It also has more working
+# services (8 of 10).
+# - update service status in README, fix grammar.
+# - fix grammar in slack-desc.
+
# 20191219 bkw:
# - BUILD=2
# - Make sprunge.us actually be the default (broken sed command!)
@@ -20,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pastebinit
-VERSION=${VERSION:-1.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.6.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,7 +49,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -53,7 +60,6 @@ patch -p1 < $CWD/manpagefix.diff
# 20150116 bkw:
sed -i \
- -e '1s,python3$,python,' \
-e '/^defaultPB/s,=.*,= "sprunge.us",' \
$PRGNAM