diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-07-23 15:52:40 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-07-23 15:52:40 +0100 |
commit | 1279a238615fa2757d3aaa9e4b98a6ee9c2b0fef (patch) | |
tree | a81212238ce69543494ead20ebbb8516273cda86 /desktop/obkey | |
parent | 3b5fc23028121a86d2378b2bb6f184cd6245feda (diff) | |
download | slackbuilds-1279a238615fa2757d3aaa9e4b98a6ee9c2b0fef.tar.gz |
desktop/obkey: Updated for version 20170611.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/obkey')
-rw-r--r-- | desktop/obkey/obkey.SlackBuild | 15 | ||||
-rw-r--r-- | desktop/obkey/obkey.info | 8 | ||||
-rw-r--r-- | desktop/obkey/slack-desc | 2 |
3 files changed, 14 insertions, 11 deletions
diff --git a/desktop/obkey/obkey.SlackBuild b/desktop/obkey/obkey.SlackBuild index e5f85cf224..ca8b5a1723 100644 --- a/desktop/obkey/obkey.SlackBuild +++ b/desktop/obkey/obkey.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for obkey. # -# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=obkey -VERSION=${VERSION:-1.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-20170611} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,13 +54,16 @@ else LIBDIRSUFFIX="" fi +SRCVER=${SRCVER:-3b3bbdc9b8d82b3982356d1c9e4c000e808625fb} + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz +mv $PRGNAM-$SRCVER $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,13 +72,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python setup.py install --root=$PKG --optimize=1 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cp COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/desktop/obkey/obkey.info b/desktop/obkey/obkey.info index 52d1d75f8b..507d2257fb 100644 --- a/desktop/obkey/obkey.info +++ b/desktop/obkey/obkey.info @@ -1,8 +1,8 @@ PRGNAM="obkey" -VERSION="1.0" -HOMEPAGE="https://github.com/nsf/obkey/" -DOWNLOAD="https://github.com/nsf/obkey/archive/v1.0/obkey-1.0.tar.gz" -MD5SUM="41686cfe4708fe304a16163496fa05d8" +VERSION="20170611" +HOMEPAGE="https://github.com/stevenhoneyman/obkey" +DOWNLOAD="https://github.com/stevenhoneyman/obkey/archive/3b3bbdc9b8d82b3982356d1c9e4c000e808625fb.tar.gz" +MD5SUM="14170eb803f5bbfe1c10eabcf600d548" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/desktop/obkey/slack-desc b/desktop/obkey/slack-desc index e2165eec35..867c190050 100644 --- a/desktop/obkey/slack-desc +++ b/desktop/obkey/slack-desc @@ -10,7 +10,7 @@ obkey: obkey (Openbox key editor) obkey: obkey: ObKey is the Openbox Key Editor, written in Python + PyGTK. obkey: -obkey: Home page: https://github.com/nsf/obkey/ +obkey: Home page: https://github.com/stevenhoneyman/obkey obkey: obkey: obkey: |