aboutsummaryrefslogtreecommitdiff
path: root/misc/pinfo/pinfo.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-04-25 01:20:41 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 18:11:54 +0700
commit43ae2c74a14f7ba2348055fa6529d0e9fdaf2a43 (patch)
treec5254c837978b5c921ec3e2dabdbc61de447f8bf /misc/pinfo/pinfo.SlackBuild
parentc9c89b00c5cc4e087bd938d1a5271904acde66f8 (diff)
misc/pinfo: Fix keybinds, man page.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/pinfo/pinfo.SlackBuild')
-rw-r--r--misc/pinfo/pinfo.SlackBuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild
index dcc2d2d05f660..d12c03f286f05 100644
--- a/misc/pinfo/pinfo.SlackBuild
+++ b/misc/pinfo/pinfo.SlackBuild
@@ -24,6 +24,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230425 bkw: BUILD=4
+# - add bugfix from upstream.
+# - document pman link in man and info pages.
+
# 20230308 bkw: BUILD=3, add douninst.sh to clean up GNU info dir.
# 20200708 bkw: BUILD=2
@@ -41,7 +45,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pinfo
VERSION=${VERSION:-0.6.13}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +86,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.[bg]z* # allow old .bz2 and new .gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -90,6 +94,8 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
patch -p1 < $CWD/gcc10-stringop.diff
patch -p1 < $CWD/ncurses-6.3.diff
+patch -p1 < $CWD/fix_f9_f10_binds.diff # commit 05f967c
+patch -p1 < $CWD/man_page.diff # my own work
[ -e configure ] || sh autogen.sh
@@ -114,14 +120,14 @@ rm -f $PKG/usr/info/dir
mv $PKG/etc/pinforc $PKG/etc/pinforc.new
# Upstream removed this as it conflicted with something on his system.
-# It doesn't conflict with ours.
+# It doesn't conflict with ours. man_page.diff documents this, too.
ln -s $PRGNAM $PKG/usr/bin/pman
ln -s $PRGNAM.1.gz $PKG/usr/man/man1/pman.1.gz
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS Change[lL]og* COPYING NEWS README* TECHSTUFF \
- $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 AUTHORS Change[lL]og* COPYING NEWS README* TECHSTUFF $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc