summaryrefslogtreecommitdiff
path: root/system/kc/kc.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-12-14 21:46:58 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:07 -0600
commitaa249d7a727276b413b419bb027acd0ee47306b0 (patch)
treed6379343f10f085b39e5fecef2a502b7aba1e898 /system/kc/kc.SlackBuild
parentaf993d7297b601a7d1faa6e731d3e07aa2bd5726 (diff)
downloadslackbuilds-aa249d7a727276b413b419bb027acd0ee47306b0.tar.gz
system/kc: Updated for version 2.3.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/kc/kc.SlackBuild')
-rw-r--r--system/kc/kc.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/kc/kc.SlackBuild b/system/kc/kc.SlackBuild
index 24df7cd815..269e3ea54a 100644
--- a/system/kc/kc.SlackBuild
+++ b/system/kc/kc.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kc
-VERSION=2.3.1
+VERSION=${VERSION:-2.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,14 +66,13 @@ rm -rf $PRGNAM-$VERSION
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" make -f GNUMakefile HAVE_PCRE=y
make -f GNUMakefile install DESTDIR=$PKG PREFIX=/usr
-install -D -c -o root -g root -m 0755 pwsafe_to_kc.pl $PKG/usr/share/$PRGNAM/pwsafe_to_kc.pl
strip --strip-unneeded $PKG/usr/bin/kc
gzip -9 $PKG/usr/man/man1/kc.1