summaryrefslogtreecommitdiffstats
path: root/accessibility/wgetpaste/wgetpaste.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/wgetpaste/wgetpaste.SlackBuild')
-rw-r--r--accessibility/wgetpaste/wgetpaste.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild
index 4f86a2d819..e389a1a8d2 100644
--- a/accessibility/wgetpaste/wgetpaste.SlackBuild
+++ b/accessibility/wgetpaste/wgetpaste.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20231220 bkw: update for v2.33. at least half of the services
+# are working again, so update README and man page.
+
# 20230704 bkw: BUILD=2
# - Add doc dir. WTF was I smoking?
@@ -43,7 +46,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wgetpaste
-VERSION=${VERSION:-2.29}
+VERSION=${VERSION:-2.33}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $OUTPUT $PKG/usr/bin $PKG/etc/$PRGNAM.d $PKG/usr/man/man1 $PKG/$ZSHDIR
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -80,6 +83,7 @@ sed -i \
-e 's,emerge --info,wgetpaste_info,g' \
-e 's,emerge x11-misc/,install ,g' \
-e 's,x11-misc/,,g' \
+ -e 's,app-text/,,g' \
-e '/^INFO_ARGS/s,"[^"]*","",' \
$PRGNAM
@@ -87,7 +91,7 @@ $PRGNAM
## -e '/^DEFAULT_SERVICE/s,bpaste,dpaste,' \
## Set default paste service to something that works,
## since bpaste has stopped working.
-# no longer needed as the default is now poundpython, per upstream.
+# no longer needed as bpaste has started working again.
# No 'make install', do it manually:
install -groot -oroot -m0755 $PRGNAM $PKG/usr/bin