From d2f5b6cccc90f25b3a0a324f203daa4739543967 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Fri, 16 Dec 2016 16:39:05 +0700 Subject: system/tpm: Added (Tiny password manager). Signed-off-by: Willy Sudiarto Raharjo --- system/tpm/tpm.SlackBuild | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'system/tpm/tpm.SlackBuild') diff --git a/system/tpm/tpm.SlackBuild b/system/tpm/tpm.SlackBuild index 9ad0af4670..b0d689f9d9 100644 --- a/system/tpm/tpm.SlackBuild +++ b/system/tpm/tpm.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for tpm -# Copyright 2015 Hunter Sezen California, USA +# Copyright 2015-2016 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,17 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tpm -VERSION=${VERSION:-1.3.1} +VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -46,7 +40,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -68,7 +62,7 @@ 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 LICENSE.txt README.pod $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3