summaryrefslogtreecommitdiffstats
path: root/system/vifm/vifm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/vifm/vifm.SlackBuild')
-rw-r--r--system/vifm/vifm.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild
index c02e5eb1d5..f4a4218101 100644
--- a/system/vifm/vifm.SlackBuild
+++ b/system/vifm/vifm.SlackBuild
@@ -6,10 +6,12 @@
# Modified by Charles E. Kauffman
# Modified by B. Watson
-# Now maintained by B. Watson <yalhcru@gmail.com>. Original version
+# Now maintained by B. Watson <urchlay@slackware.uk>. Original version
# had no license; modified version is licensed under the WTFPL.
# See http://www.wtfpl.net/txt/copying/ for details.
+# 20230510 bkw: updated for v0.13.
+# 20221228 bkw: updated for v0.12.1.
# 20200101 bkw:
# - take over maintenance
# - update for v0.10.1
@@ -20,7 +22,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vifm
-VERSION=${VERSION:-0.11}
+VERSION=${VERSION:-0.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -33,9 +35,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
@@ -83,11 +82,13 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# note: configure script appends $PRGNAM to sysconfdir.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
+ --sysconfdir=/etc \
--build=$ARCH-slackware-linux
make
@@ -102,7 +103,8 @@ rm -rf $PKG/usr/share/doc
# Include only the vim instructions from INSTALL, nobody cares about compile
# instructions (especially not Windows ones) when using a binary package.
rm -f $DOCDIR/INSTALL
-sed -n '/^Vim Specific/,$p' INSTALL > $DOCDIR/README_vim.txt
+sed -n '/^Vim Specific/,/Building with broken/p' INSTALL | \
+ sed '$d' > $DOCDIR/README_vim.txt
cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild