aboutsummaryrefslogtreecommitdiff
path: root/misc/keychain/keychain.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-06-08 07:58:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-12 06:51:42 +0700
commit3c007f6e2ec6168a88acc568d8afb08cd50a73a9 (patch)
treeff79bbe59ce92a18dac9037c94c4c0b9417ed347 /misc/keychain/keychain.SlackBuild
parent81d3a52b23706824bc6010d3f50326a5b3643729 (diff)
misc/keychain: Script cleanup + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/keychain/keychain.SlackBuild')
-rw-r--r--misc/keychain/keychain.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/misc/keychain/keychain.SlackBuild b/misc/keychain/keychain.SlackBuild
index 8568d3d5b1107..ffe9b02eaa376 100644
--- a/misc/keychain/keychain.SlackBuild
+++ b/misc/keychain/keychain.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for keychain
# Copyright 2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -21,7 +22,7 @@
PRGNAM=keychain
VERSION=${VERSION:-2.7.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
@@ -29,8 +30,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="COPYING.txt ChangeLog README.rst"
-
set -e
rm -rf $PKG
@@ -48,17 +47,14 @@ find -L . \
make
-mkdir -p $PKG/usr/bin
-cat keychain > $PKG/usr/bin/keychain
-chmod 755 $PKG/usr/bin/keychain
-mkdir -p $PKG/usr/man/man1
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
+install -m 755 $PRGNAM $PKG/usr/bin
cat keychain.1 > $PKG/usr/man/man1/keychain.1
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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.txt ChangeLog README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install