summaryrefslogtreecommitdiff
path: root/system/kc/kc.SlackBuild
diff options
context:
space:
mode:
authorDaniel LEVAI <leva@ecentrum.hu>2013-02-05 21:42:34 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-02-05 22:40:18 -0600
commitcf3cdb6544713794b6cb579c40adb1023584dd47 (patch)
treea4d869f208c4b3dc65656ebfe39a0fbabb731af4 /system/kc/kc.SlackBuild
parentdae601189d5318d5612d79916a8dc8e1be2dc72c (diff)
downloadslackbuilds-cf3cdb6544713794b6cb579c40adb1023584dd47.tar.gz
system/kc: Updated for version 2.2.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kc/kc.SlackBuild')
-rw-r--r--system/kc/kc.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/kc/kc.SlackBuild b/system/kc/kc.SlackBuild
index 497d5ea67f..664bdac318 100644
--- a/system/kc/kc.SlackBuild
+++ b/system/kc/kc.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2011, 2012 Daniel LEVAI
+# Copyright (c) 2011, 2012, 2013 Daniel LEVAI
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kc
-VERSION=2.1.6
+VERSION=2.2.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,14 +71,14 @@ find . \
-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_convert.pl $PKG/usr/share/$PRGNAM/pwsafe_convert.pl
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-install -c -o root -g root -m 0755 kc $PKG/usr/bin/kc
strip --strip-unneeded $PKG/usr/bin/kc
-gzip -9c kc.1 > $PKG/usr/man/man1/kc.1.gz
+gzip -9 $PKG/usr/man/man1/kc.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a Changelog LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install