diff options
author | B. Watson <yalhcru@gmail.com> | 2016-07-21 19:59:02 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | 27160cc5e86bf35ab3dc21e87bbe016d2968c8a7 (patch) | |
tree | 75013c699b76a18c9f8f04022858b8039590e4a7 /accessibility/wgetpaste/wgetpaste.SlackBuild | |
parent | 8bbffc0297d5a750a68e86d91f3f03f3858fa925 (diff) | |
download | slackbuilds-27160cc5e86bf35ab3dc21e87bbe016d2968c8a7.tar.gz |
accessibility/wgetpaste: Updated for version 2.28.
Diffstat (limited to 'accessibility/wgetpaste/wgetpaste.SlackBuild')
-rw-r--r-- | accessibility/wgetpaste/wgetpaste.SlackBuild | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild index 0577cd1c46..9d7f85c2a4 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 |