aboutsummaryrefslogtreecommitdiff
path: root/development/rmac/rmac.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/rmac/rmac.SlackBuild')
-rw-r--r--development/rmac/rmac.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/development/rmac/rmac.SlackBuild b/development/rmac/rmac.SlackBuild
index bf3a984c28c00..b1d39b41acab5 100644
--- a/development/rmac/rmac.SlackBuild
+++ b/development/rmac/rmac.SlackBuild
@@ -8,6 +8,10 @@
# Upstream doesn't do source release tarballs, see git2targz.sh.
+# 20230103 bkw:
+# - update for v2.2.14_20221221.
+# - convert rst doc to html.
+
# 20210907 bkw: update for v2.1.12_20210820.
# 20180922 bkw:
# - updated for v1.13.5_20180603, had to add -j1 to make command.
@@ -15,7 +19,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rmac
-VERSION=${VERSION:-2.1.12_20210820}
+VERSION=${VERSION:-2.2.14_20221221}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -90,9 +94,10 @@ cd -
mkdir -p $PKG/usr/man/man1
gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+# rst2html is part of Slackware now, use it.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../share/$PRGNAM/examples $PKG/usr/doc/$PRGNAM-$VERSION/examples
-cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+rst2html.py docs/rmac.rst > $PKG/usr/doc/$PRGNAM-$VERSION/rmac.html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install