diff options
Diffstat (limited to 'desktop/obkey/obkey.SlackBuild')
-rw-r--r-- | desktop/obkey/obkey.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/desktop/obkey/obkey.SlackBuild b/desktop/obkey/obkey.SlackBuild index 004220c8d7..dd4a481737 100644 --- a/desktop/obkey/obkey.SlackBuild +++ b/desktop/obkey/obkey.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh +# # Slackware build script for obkey. - +# # Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # @@ -23,7 +24,7 @@ PRGNAM=obkey VERSION=${VERSION:-1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,11 +56,13 @@ fi set -e +SRCVER="v1.0" + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCVER.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -73,10 +76,8 @@ python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -DOCS="COPYING NEWS" - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |