mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
desktop/obkey: Updated for version 20170611.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
3b5fc23028
commit
1279a23861
3 changed files with 14 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue