misc/keychain: Updated for version 2.8.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2015-12-30 08:37:54 +07:00 committed by Willy Sudiarto Raharjo
parent 4f03d0744e
commit c60ef40ddf
2 changed files with 13 additions and 12 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for keychain
# Copyright 2010 Grigorios Bouzakis <grbzks@xsmail.com>
# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
# Copyright 2014-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@ -21,8 +21,8 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=keychain
VERSION=${VERSION:-2.7.1}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
@ -40,12 +40,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make
# Delete path that doesn't exist.
sed -i 's|:/usr/ucb||' $PRGNAM
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
install -m 755 $PRGNAM $PKG/usr/bin
@ -54,7 +55,7 @@ cat keychain.1 > $PKG/usr/man/man1/keychain.1
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING.txt ChangeLog README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING.txt ChangeLog README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="keychain"
VERSION="2.7.1"
VERSION="2.8.2"
HOMEPAGE="http://www.funtoo.org/index.php?title=Keychain"
DOWNLOAD="http://www.funtoo.org/archive/keychain/keychain-2.7.1.tar.bz2"
MD5SUM="07c622833192189f483cbaec287f9704"
DOWNLOAD="http://www.funtoo.org/archive/keychain/keychain-2.8.2.tar.bz2"
MD5SUM="2e1eef5237926086ddf7af497bf49b26"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""