summaryrefslogtreecommitdiff
path: root/office/leafpad/leafpad.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-05-27 00:18:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:38 +0700
commit0804f9fd917b0173231ae834c3cdc22b0375d886 (patch)
tree14502d28ce6b60556f36b73c6dcc28d182cfc3cc /office/leafpad/leafpad.SlackBuild
parentf6614c9aa110957636d6aebb44ba5fba68d1fa22 (diff)
downloadslackbuilds-0804f9fd917b0173231ae834c3cdc22b0375d886.tar.gz
office/leafpad: New maintainer + script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/leafpad/leafpad.SlackBuild')
-rw-r--r--office/leafpad/leafpad.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/office/leafpad/leafpad.SlackBuild b/office/leafpad/leafpad.SlackBuild
index 8168244597..b47b14387e 100644
--- a/office/leafpad/leafpad.SlackBuild
+++ b/office/leafpad/leafpad.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for leafpad
# Copyright 2007-2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -63,10 +64,10 @@ 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" \
@@ -77,6 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
make