diff options
Diffstat (limited to 'misc/keychain/keychain.SlackBuild')
-rw-r--r-- | misc/keychain/keychain.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/keychain/keychain.SlackBuild b/misc/keychain/keychain.SlackBuild index b455f16bd6..82708ed536 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 |