aboutsummaryrefslogtreecommitdiff
path: root/development/geany/geany.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2016-01-24 10:40:53 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:58:48 +0700
commit1d865b635a43190416aa4bbcee0464b509cccbc5 (patch)
tree44793d460427dade9c8868495b44e85b57477cb1 /development/geany/geany.SlackBuild
parent39a6562ed146990c64588cbf746a9383ea7214dc (diff)
development/geany: Updated for version 1.26 + new maintainer.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'development/geany/geany.SlackBuild')
-rw-r--r--development/geany/geany.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/development/geany/geany.SlackBuild b/development/geany/geany.SlackBuild
index 1c30cf681596d..d61cde1a16653 100644
--- a/development/geany/geany.SlackBuild
+++ b/development/geany/geany.SlackBuild
@@ -1,6 +1,9 @@
#!/bin/sh
# Slackware build script for Geany
+
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Written by Evan Hisey <ehisey@gmail.com>
# Copyright 2009-2014 Michiel van Wessem, Leicester, United Kingdom
# All rights reserved.
@@ -25,7 +28,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=geany
-VERSION=${VERSION:-1.25}
+VERSION=${VERSION:-1.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,10 +72,10 @@ 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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,12 +86,13 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
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 {} \;