summaryrefslogtreecommitdiff
path: root/desktop/obkey/obkey.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-10-29 07:51:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-29 19:37:22 +0700
commitb80e7ba9fe318bc86c426a6348c0067fc402ef46 (patch)
treebf3ce48bbabc50924818cbb60f3f099e61517bbb /desktop/obkey/obkey.SlackBuild
parent7d27185055bf4623e54f3c0000c70ecc6aa2787e (diff)
downloadslackbuilds-b80e7ba9fe318bc86c426a6348c0067fc402ef46.tar.gz
desktop/obkey: Update SOURCE url.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/obkey/obkey.SlackBuild')
-rw-r--r--desktop/obkey/obkey.SlackBuild13
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