summaryrefslogtreecommitdiff
path: root/office/gummi
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-12-30 13:10:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-30 13:10:21 +0700
commita4177eb0f3b7611276e2a7e787ebd896a1debc24 (patch)
tree090f2399676c0e3e6ae0c322c2ecbe7fcdde26e3 /office/gummi
parent629cbd2cb7dde107ce64f94604f60aa5348bcab7 (diff)
downloadslackbuilds-a4177eb0f3b7611276e2a7e787ebd896a1debc24.tar.gz
office/gummi: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/gummi')
-rw-r--r--office/gummi/gummi.SlackBuild33
-rw-r--r--office/gummi/gummi.info2
2 files changed, 27 insertions, 8 deletions
diff --git a/office/gummi/gummi.SlackBuild b/office/gummi/gummi.SlackBuild
index 81932dd51e..287b3e13ae 100644
--- a/office/gummi/gummi.SlackBuild
+++ b/office/gummi/gummi.SlackBuild
@@ -2,11 +2,29 @@
# Slackware build script for gummi
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011-2015 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=gummi
VERSION=${VERSION:-0.6.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -46,15 +64,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
@@ -62,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/office/gummi/gummi.info b/office/gummi/gummi.info
index 8942e32317..e51e05181e 100644
--- a/office/gummi/gummi.info
+++ b/office/gummi/gummi.info
@@ -1,7 +1,7 @@
PRGNAM="gummi"
VERSION="0.6.5"
HOMEPAGE="http://gummi.midnightcoding.org/"
-DOWNLOAD="http://dev.midnightcoding.org/attachments/download/301/gummi-0.6.5.tar.gz"
+DOWNLOAD="https://github.com/alexandervdm/gummi/releases/download/0.6.5/gummi-0.6.5.tar.gz"
MD5SUM="da6b8736fd42ab3f5a9703a7a7917a7d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""