misc/keychain: Script cleanup + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2014-06-08 07:58:38 +07:00 committed by Willy Sudiarto Raharjo
parent 81d3a52b23
commit 3c007f6e2e
2 changed files with 7 additions and 11 deletions

View file

@ -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

View file

@ -6,5 +6,5 @@ MD5SUM="07c622833192189f483cbaec287f9704"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Grigorios Bouzakis"
EMAIL="grbzks@xsmail.com"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"