aboutsummaryrefslogtreecommitdiff
path: root/accessibility/pastebinit/pastebinit.SlackBuild
diff options
context:
space:
mode:
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