summaryrefslogtreecommitdiffstats
path: root/accessibility/pastebinit/pastebinit.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2014-03-09 00:26:03 +0700
committer Erik Hanson <erik@slackbuilds.org>2014-03-12 12:42:47 -0500
commit3f403c7b417b23ae08740e7e6a346394a5931672 (patch)
tree9bf0371060250763a6b7d45f99a95ae6ed99f5c6 /accessibility/pastebinit/pastebinit.SlackBuild
parentb812dde73adb9536b64affbca819b1cc8b8c017a (diff)
downloadslackbuilds-3f403c7b417b23ae08740e7e6a346394a5931672.tar.gz
slackbuilds-3f403c7b417b23ae08740e7e6a346394a5931672.tar.xz
accessibility/pastebinit: Updated for version 1.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility/pastebinit/pastebinit.SlackBuild')
-rw-r--r--accessibility/pastebinit/pastebinit.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/accessibility/pastebinit/pastebinit.SlackBuild b/accessibility/pastebinit/pastebinit.SlackBuild
index 149adee8dd..2ad68a0756 100644
--- a/accessibility/pastebinit/pastebinit.SlackBuild
+++ b/accessibility/pastebinit/pastebinit.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
PRGNAM=pastebinit
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -28,17 +28,14 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Get rid of the fixmes in the man page.
patch -p1 < $CWD/manpagefix.diff
-# Sadly, this pastebin has been shut down.
-rm -f $PRGNAM.d/paste.pocoo.org.conf
-
mkdir -p \
$PKG/usr/bin \
$PKG/usr/share/pastebin.d \