From 3d8203937b8688382c5b2dc8a8f83b68ca3a8dc3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 10 Aug 2024 13:01:13 -0400 Subject: desktop/dmenu: Updated for version 5.3, new maintainer. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- desktop/dmenu/README | 4 ++-- desktop/dmenu/dmenu.SlackBuild | 29 ++++++++++++----------------- desktop/dmenu/dmenu.info | 10 +++++----- 3 files changed, 19 insertions(+), 24 deletions(-) (limited to 'desktop') diff --git a/desktop/dmenu/README b/desktop/dmenu/README index 13da1b346b1d..b20be66d3996 100644 --- a/desktop/dmenu/README +++ b/desktop/dmenu/README @@ -1,6 +1,6 @@ -dmenu - dynamic menu +dmenu (dynamic menu for X) dmenu is a generic and efficient menu for X. Note: dmenu now includes a tiny utility called stest that is used to -filter files. See its man page for details. +filter files. See its man page for details. diff --git a/desktop/dmenu/dmenu.SlackBuild b/desktop/dmenu/dmenu.SlackBuild index 6b8cd127f186..7647236405f3 100644 --- a/desktop/dmenu/dmenu.SlackBuild +++ b/desktop/dmenu/dmenu.SlackBuild @@ -23,10 +23,13 @@ # Modified by Phillip Warner for version >= 4.0 +# 20240810 bkw: updated for v5.3. +# - new maintainer. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dmenu -VERSION=${VERSION:-4.9} +VERSION=${VERSION:-5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -74,11 +74,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # Fixup the CFLAGS and LIBDIR settings to prevent multilib conflicts patch -p1 < $CWD/dmenu-4.9-libdir_cflags_fixups.diff @@ -92,15 +89,13 @@ make install \ X11LIB=/usr/lib${LIBDIRSUFFIX}/X11 \ DESTDIR=$PKG -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 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done +strip $PKG/usr/bin/{dmenu,stest} +gzip -9 $PKG/usr/man/man*/* -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a LICENSE README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/desktop/dmenu/dmenu.info b/desktop/dmenu/dmenu.info index 1eaa82ac0077..30773ae348f7 100644 --- a/desktop/dmenu/dmenu.info +++ b/desktop/dmenu/dmenu.info @@ -1,10 +1,10 @@ PRGNAM="dmenu" -VERSION="4.9" +VERSION="5.3" HOMEPAGE="http://tools.suckless.org/dmenu" -DOWNLOAD="http://dl.suckless.org/tools/dmenu-4.9.tar.gz" -MD5SUM="9a537ec9a3a2ce9f08963d66b56cc030" +DOWNLOAD="http://dl.suckless.org/tools/dmenu-5.3.tar.gz" +MD5SUM="d9c515ea242e412a02c30a09a0752161" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Phillip Warner" -EMAIL="pc_warner@yahoo.com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" -- cgit v1.2.3