diff options
Diffstat (limited to 'desktop/xdgmenumaker')
-rw-r--r-- | desktop/xdgmenumaker/README | 2 | ||||
-rw-r--r-- | desktop/xdgmenumaker/slack-desc | 4 | ||||
-rw-r--r-- | desktop/xdgmenumaker/xdgmenumaker.SlackBuild | 23 | ||||
-rw-r--r-- | desktop/xdgmenumaker/xdgmenumaker.info | 10 |
4 files changed, 26 insertions, 13 deletions
diff --git a/desktop/xdgmenumaker/README b/desktop/xdgmenumaker/README index be7c3fb863..8cb35872a9 100644 --- a/desktop/xdgmenumaker/README +++ b/desktop/xdgmenumaker/README @@ -7,6 +7,6 @@ according to the main categories as specified by freedesktop.org. The menu entries that are generated by xdgmenumaker are localised according to the running user locale settings. -xdgmenumaker currently supports generating menus for blackbox, +xdgmenumaker currently supports generating menus for amiwm, blackbox, compizboxmenu, fluxbox, fvwm, icewm, jwm, pekwm, twm (and compatible derivatives such as ctwm and vtwm), and windowmaker. diff --git a/desktop/xdgmenumaker/slack-desc b/desktop/xdgmenumaker/slack-desc index 91ed78c08a..fab0fffd83 100644 --- a/desktop/xdgmenumaker/slack-desc +++ b/desktop/xdgmenumaker/slack-desc @@ -15,5 +15,5 @@ xdgmenumaker: are sorted according to the main categories as specified by xdgmenumaker: freedesktop.org. The menu entries that are generated by xdgmenumaker xdgmenumaker: are localised according to the running user locale settings. xdgmenumaker: -xdgmenumaker: xdgmenumaker generates menus for blackbox, compizboxmenu, fluxbox, -xdgmenumaker: fvwm, icewm, jwm, pekwm, twm, and windowmaker. +xdgmenumaker: xdgmenumaker generates menus for amiwm, blackbox, compizboxmenu, +xdgmenumaker: fluxbox, fvwm, icewm, jwm, pekwm, twm, and windowmaker. diff --git a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild index eb22508dad..575ffb9a1a 100644 --- a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild +++ b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild @@ -1,12 +1,15 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for xdgmenumaker # Originally written by Andrew Tkalia -# Modified by B. Watson (yalhcru@gmail.com) +# Modified by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ # for details. +# 20230711 bkw: updated for v2.1. +# 20221229 bkw: updated for v2.0. +# 20220110 bkw: BUILD=2, update slightly for new txt2tags. # 20201103 bkw: updated for v1.6. # 20180917 bkw: updated for v1.5. # 20170301 bkw: Use long-form github URL. @@ -18,15 +21,22 @@ # 20150914 bkw: updated 0.5 => 0.8. upstream now uses a Makefile # instead of install.sh so this script can't build the old version. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xdgmenumaker -VERSION=${VERSION:-1.6} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} # pure python, no compiled code at all ARCH=noarch -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -50,6 +60,9 @@ sed -i 's,share/man,man,' Makefile # dynamic menu to work, the man page should reflect this: sed -i '/``xdgmenumaker -f windowmaker``/s,``,``/usr/bin/,' man/$PRGNAM.t2t +# 20220110 bkw: new txt2tags 3.7 doesn't support %%mtime in .t2t, so: +sed -i "s,^%%mtime.*,$( date +%Y-%m-%d )," man/$PRGNAM.t2t + make -j1 man install DESTDIR=$PKG PREFIX=/usr gzip $PKG/usr/man/man1/$PRGNAM.1 @@ -62,4 +75,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/xdgmenumaker/xdgmenumaker.info b/desktop/xdgmenumaker/xdgmenumaker.info index 9832c1fa86..4e8536cd3a 100644 --- a/desktop/xdgmenumaker/xdgmenumaker.info +++ b/desktop/xdgmenumaker/xdgmenumaker.info @@ -1,10 +1,10 @@ PRGNAM="xdgmenumaker" -VERSION="1.6" +VERSION="2.1" HOMEPAGE="https://github.com/gapan/xdgmenumaker" -DOWNLOAD="https://github.com/gapan/xdgmenumaker/archive/1.6/xdgmenumaker-1.6.tar.gz" -MD5SUM="4194aaa4074d938a54d0c9c853c0b4e1" +DOWNLOAD="https://github.com/gapan/xdgmenumaker/archive/2.1/xdgmenumaker-2.1.tar.gz" +MD5SUM="a6fe952808b9ab9e8661c41ddd56e378" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pyxdg txt2tags" +REQUIRES="txt2tags" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" |