mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
accessibility/wgetpaste: Updated for version 2.22.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
5c8258f039
commit
ce723e07e7
4 changed files with 5 additions and 23 deletions
|
@ -1,12 +0,0 @@
|
|||
diff -Naur wgetpaste-2.20/wgetpaste wgetpaste-2.20.patched/wgetpaste
|
||||
--- wgetpaste-2.20/wgetpaste 2012-05-05 15:15:32.000000000 -0400
|
||||
+++ wgetpaste-2.20.patched/wgetpaste 2012-12-20 18:41:01.000000000 -0500
|
||||
@@ -634,7 +634,7 @@
|
||||
load_configs
|
||||
[[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET")
|
||||
DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed"
|
||||
-DEFAULT_SERVICE=${DEFAULT_SERVICE:-gists}
|
||||
+DEFAULT_SERVICE=${DEFAULT_SERVICE:-dpaste}
|
||||
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text}
|
||||
DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month}
|
||||
SERVICE=${SERVICE:-${DEFAULT_SERVICE}}
|
|
@ -15,7 +15,7 @@ set language (defaults to "Plain Text")
|
|||
set nick (defaults to your username)
|
||||
.TP
|
||||
\fB\-s\fR, \fB\-\-service\fR SERVICE
|
||||
set service to use (defaults to "dpaste")
|
||||
set service to use (defaults to "bpaste")
|
||||
.TP
|
||||
\fB\-e\fR, \fB\-\-expiration\fR EXPIRATION
|
||||
set when it should expire (defaults to "30 days")
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
|
||||
|
||||
PRGNAM=wgetpaste
|
||||
VERSION=${VERSION:-2.20}
|
||||
VERSION=${VERSION:-2.22}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -29,12 +29,6 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
# The default pastebin is gists, which isn't actually working today. Never
|
||||
# used it myself so I dunno if it's a temporary thing or a bug in wgetpaste
|
||||
# or what. Older wgetpaste defaults to dpaste, which still works fine, so
|
||||
# let's make that the default.
|
||||
patch -p1 < $CWD/dpaste_default.diff
|
||||
|
||||
# x11-misc/xclip => xclip
|
||||
# 'emerge --info' => wgetpaste_info
|
||||
patch -p1 < $CWD/no_gentooisms.diff
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="wgetpaste"
|
||||
VERSION="2.20"
|
||||
VERSION="2.22"
|
||||
HOMEPAGE="http://wgetpaste.zlin.dk/"
|
||||
DOWNLOAD="http://wgetpaste.zlin.dk/wgetpaste-2.20.tar.bz2"
|
||||
MD5SUM="4c7259e626d834af1e51719bc9df0898"
|
||||
DOWNLOAD="http://wgetpaste.zlin.dk/wgetpaste-2.22.tar.bz2"
|
||||
MD5SUM="413e9faf02b044d56ce454fcd90cecbf"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue