diff options
author | B. Watson <yalhcru@gmail.com> | 2022-01-10 17:07:26 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-17 09:03:26 +0700 |
commit | 21b2d5a933e7e3e235aa8268e56159407124c1e0 (patch) | |
tree | d28fd5a56644e878c7d3ad9f04911fb5c59b0409 /desktop/xdgmenumaker/xdgmenumaker.SlackBuild | |
parent | bc06d0bff3a6ebba76c9b276832cda76200b7cd0 (diff) |
desktop/xdgmenumaker: Fix for new txt2tags.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xdgmenumaker/xdgmenumaker.SlackBuild')
-rw-r--r-- | desktop/xdgmenumaker/xdgmenumaker.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild index 9c5b476338872..7d723ecd48429 100644 --- a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild +++ b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild @@ -7,6 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ # for details. +# 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. @@ -22,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xdgmenumaker VERSION=${VERSION:-1.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,6 +58,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 |