desktop/obkey: Updated for version 22.10.16.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2023-02-07 19:39:01 +00:00 committed by Willy Sudiarto Raharjo
parent 16034a0f99
commit 4323debbba
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
4 changed files with 23 additions and 13 deletions

View File

@ -2,7 +2,7 @@
#
# Slackware build script for obkey.
#
# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2015-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=obkey
VERSION=${VERSION:-20171004}
VERSION=${VERSION:-22.10.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -64,16 +64,14 @@ else
LIBDIRSUFFIX=""
fi
SRCVER=${SRCVER:-cf9907607941b2039eafc26025826b51a7927972}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_${VERSION}.tar.?z
mv $PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -82,13 +80,14 @@ 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 --optimize=1
python3 setup.py install --root=$PKG --optimize=1
install -Dm644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
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 COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING LICENSE NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.2
Type=Application
Name=Openbox Key bindings
Comment=Configure and personalize the Openbox key bindings manager
Icon=obconf
Exec=obkey %f
Categories=Settings;DesktopSettings;GTK;
MimeType=application/x-openbox-theme;
StartupNotify=true
Terminal=false

View File

@ -1,8 +1,8 @@
PRGNAM="obkey"
VERSION="20171004"
HOMEPAGE="https://github.com/stevenhoneyman/obkey"
DOWNLOAD="https://github.com/stevenhoneyman/obkey/archive/cf9907607941b2039eafc26025826b51a7927972/obkey-cf9907607941b2039eafc26025826b51a7927972.tar.gz"
MD5SUM="8a47bed6d38792cd8f643c46ab734a01"
VERSION="22.10.16"
HOMEPAGE="https://github.com/MX-Linux/obkey"
DOWNLOAD="https://mxrepo.com/mx/repo/pool/main/o/obkey/obkey_22.10.16.tar.xz"
MD5SUM="049ad9b1d728fdf8d510a5b00e6bc61f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View File

@ -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/stevenhoneyman/obkey
obkey: Home page: https://github.com/MX-Linux/obkey
obkey:
obkey:
obkey: