aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2023-02-07 19:39:01 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-11 09:30:34 +0700
commit4323debbba134fcf30afc83dda15e9ec5ea2b5a9 (patch)
tree6b91d19235246de94597f56e4a13cfa39c7f794b /desktop
parent16034a0f99b137b2e53cf0ec85ba19fc98d896d0 (diff)
desktop/obkey: Updated for version 22.10.16.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/obkey/obkey.SlackBuild15
-rw-r--r--desktop/obkey/obkey.desktop11
-rw-r--r--desktop/obkey/obkey.info8
-rw-r--r--desktop/obkey/slack-desc2
4 files changed, 23 insertions, 13 deletions
diff --git a/desktop/obkey/obkey.SlackBuild b/desktop/obkey/obkey.SlackBuild
index a6d536e8ffaea..1395fcbd390cd 100644
--- a/desktop/obkey/obkey.SlackBuild
+++ b/desktop/obkey/obkey.SlackBuild
@@ -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
diff --git a/desktop/obkey/obkey.desktop b/desktop/obkey/obkey.desktop
new file mode 100644
index 0000000000000..33f2fb70ed34c
--- /dev/null
+++ b/desktop/obkey/obkey.desktop
@@ -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
diff --git a/desktop/obkey/obkey.info b/desktop/obkey/obkey.info
index 7ca9e8b05c587..d6ff9309a5a7d 100644
--- a/desktop/obkey/obkey.info
+++ b/desktop/obkey/obkey.info
@@ -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=""
diff --git a/desktop/obkey/slack-desc b/desktop/obkey/slack-desc
index 867c1900505fc..1c243f660d5ac 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/stevenhoneyman/obkey
+obkey: Home page: https://github.com/MX-Linux/obkey
obkey:
obkey:
obkey: