summaryrefslogtreecommitdiffstats
path: root/system/kc/kc.SlackBuild
diff options
context:
space:
mode:
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