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:
parent
16034a0f99
commit
4323debbba
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# Slackware build script for obkey.
|
# 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.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=obkey
|
PRGNAM=obkey
|
||||||
VERSION=${VERSION:-20171004}
|
VERSION=${VERSION:-22.10.16}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -64,16 +64,14 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SRCVER=${SRCVER:-cf9907607941b2039eafc26025826b51a7927972}
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
|
tar xvf $CWD/${PRGNAM}_${VERSION}.tar.?z
|
||||||
mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
|
mv $PRGNAM $PRGNAM-$VERSION
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
|
@ -82,13 +80,14 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-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 \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -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
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="obkey"
|
PRGNAM="obkey"
|
||||||
VERSION="20171004"
|
VERSION="22.10.16"
|
||||||
HOMEPAGE="https://github.com/stevenhoneyman/obkey"
|
HOMEPAGE="https://github.com/MX-Linux/obkey"
|
||||||
DOWNLOAD="https://github.com/stevenhoneyman/obkey/archive/cf9907607941b2039eafc26025826b51a7927972/obkey-cf9907607941b2039eafc26025826b51a7927972.tar.gz"
|
DOWNLOAD="https://mxrepo.com/mx/repo/pool/main/o/obkey/obkey_22.10.16.tar.xz"
|
||||||
MD5SUM="8a47bed6d38792cd8f643c46ab734a01"
|
MD5SUM="049ad9b1d728fdf8d510a5b00e6bc61f"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
|
@ -10,7 +10,7 @@ obkey: obkey (Openbox key editor)
|
||||||
obkey:
|
obkey:
|
||||||
obkey: ObKey is the Openbox Key Editor, written in Python + PyGTK.
|
obkey: ObKey is the Openbox Key Editor, written in Python + PyGTK.
|
||||||
obkey:
|
obkey:
|
||||||
obkey: Home page: https://github.com/stevenhoneyman/obkey
|
obkey: Home page: https://github.com/MX-Linux/obkey
|
||||||
obkey:
|
obkey:
|
||||||
obkey:
|
obkey:
|
||||||
obkey:
|
obkey:
|
||||||
|
|
Loading…
Reference in New Issue