aboutsummaryrefslogtreecommitdiff
path: root/accessibility/wgetpaste/wgetpaste.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/wgetpaste/wgetpaste.SlackBuild')
-rw-r--r--accessibility/wgetpaste/wgetpaste.SlackBuild21
1 files changed, 16 insertions, 5 deletions
diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild
index 0577cd1c462a..9d7f85c2a405 100644
--- a/accessibility/wgetpaste/wgetpaste.SlackBuild
+++ b/accessibility/wgetpaste/wgetpaste.SlackBuild
@@ -25,9 +25,14 @@
# - Replaced no_gentooisms.diff with some sed stuff.
# - Bumped BUILD to 2.
+# 20160721 bkw:
+# - Updated to 2.28.
+# - Leave default service as-is (it's now poundpython).
+# - Really remove no_gentooisms.diff.
+
PRGNAM=wgetpaste
-VERSION=${VERSION:-2.25}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.28}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -55,16 +60,22 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Un-gentoo-ize the help and error messages, use wgetpaste_info for the
-# -i and -I options. Set default paste service to something that works,
-# since bpaste has stopped working.
+# -i and -I options.
+
sed -i \
- -e '/^DEFAULT_SERVICE/s,bpaste,dpaste,' \
-e 's,emerge --info,wgetpaste_info,g' \
-e 's,emerge x11-misc/,install ,g' \
-e 's,x11-misc/,,g' \
-e '/^INFO_ARGS/s,"[^"]*","",' \
$PRGNAM
+# used to do this:
+## -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 'make install', do it manually:
install -groot -oroot -m0755 $PRGNAM $PKG/usr/bin
install -groot -oroot -m0644 _$PRGNAM $PKG/$ZSHDIR
install -groot -oroot -m0644 $CWD/$PRGNAM.example $PKG/etc/$PRGNAM.conf.sample