aboutsummaryrefslogtreecommitdiff
path: root/misc/keychain/keychain.SlackBuild
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-07-15 19:52:32 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-15 20:12:37 -0500
commit8a4349e3dacf22f971d57289efb1b3c7167134db (patch)
treed2eff597a579251a3cf6a876d8e357c4ed997c30 /misc/keychain/keychain.SlackBuild
parent09643b0e63fb5202634d9c0478c7c0fb3ae66856 (diff)
misc/keychain: Updated for version 2.7.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/keychain/keychain.SlackBuild')
-rw-r--r--misc/keychain/keychain.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/keychain/keychain.SlackBuild b/misc/keychain/keychain.SlackBuild
index b455f16bd66d4..82708ed536d2e 100644
--- a/misc/keychain/keychain.SlackBuild
+++ b/misc/keychain/keychain.SlackBuild
@@ -9,7 +9,7 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=keychain
-VERSION=2.7.0
+VERSION=${VERSION:-2.7.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,15 +37,19 @@ find . \
make all
install -D -m 0755 keychain $PKG/usr/bin/keychain
-install -D -m 0644 keychain.1.gz $PKG/usr/man/man1/keychain.1.gz
+install -D -m 0644 keychain.1 $PKG/usr/man/man1/keychain.1
install -D -m 0644 img/keychain-1.png $PKG/usr/share/pixmaps/keychain-1.png
install -D -m 0644 img/keychain-2.png $PKG/usr/share/pixmaps/keychain-2.png
# For creating a KDE desktop-entry maybe read this post:
# http://linux.derkeiler.com/Mailing-Lists/SuSE/2008-12/msg02640.html
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.txt ChangeLog README.rst keychain.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.txt ChangeLog README.rst keychain.txt VERSION \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG