aboutsummaryrefslogtreecommitdiff
path: root/office/sigil/sigil.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-02-02 09:50:45 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-02-02 02:09:45 -0600
commit994cecb10432150cf2d8e627dc59e020f2d17467 (patch)
treeaffeccebc31627bdc09e21ed3a9e2ff8ba348967 /office/sigil/sigil.SlackBuild
parent635148757d86c0fae06502327c4e53cd6ab06be2 (diff)
office/sigil: Updated for version 0.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/sigil/sigil.SlackBuild')
-rw-r--r--office/sigil/sigil.SlackBuild33
1 files changed, 25 insertions, 8 deletions
diff --git a/office/sigil/sigil.SlackBuild b/office/sigil/sigil.SlackBuild
index 19870bbf9051c..f0e54d8bf7391 100644
--- a/office/sigil/sigil.SlackBuild
+++ b/office/sigil/sigil.SlackBuild
@@ -2,15 +2,32 @@
# Slackware build script for sigil
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2010-2014 Larry Hajali <larryhaja[at]gmail[dot]com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sigil
-VERSION=${VERSION:-0.6.2}
+SRCNAM=Sigil
+VERSION=${VERSION:-0.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Sigil
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -49,10 +66,10 @@ cd $PRGNAM-$VERSION
unzip $CWD/$SRCNAM-$VERSION-Code.zip
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 {} \;
# Fix end of line encoding.
sed -i 's/\r//g' ChangeLog.txt COPYING.txt INSTALL.txt README.txt