aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles E. Kauffman <molbolom@gmail.com>2015-07-22 08:32:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-22 08:32:56 +0700
commit21e671657019bc5e06ae9c35d62f98330b849f2d (patch)
treee55873af1f3904ced2a43dd6426f8a369c244b45
parentddc6af12f38244da82199b59094cfcdbe3638c66 (diff)
system/vifm: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/vifm/README5
-rw-r--r--system/vifm/vifm.SlackBuild10
2 files changed, 6 insertions, 9 deletions
diff --git a/system/vifm/README b/system/vifm/README
index 8472994f69714..54e68874e25ef 100644
--- a/system/vifm/README
+++ b/system/vifm/README
@@ -2,8 +2,5 @@ Vifm is an ncurses-based file manager with vi-like keybindings. If you
use vi, vifm gives you complete keyboard control over your files without
having to learn a new set of commands.
-The configuration for vifm sits in ~/.vifm, and documentation sits in
-/usr/doc/vifm-$VERSION/vim/doc.
-
-Vim users: A vifm.vim plugin is included in /usr/doc/vifm-$VERSION/vim.
+Vim users: A vifm.vim plugin is included in /usr/share/vifm/vim/.
Read the INSTALL file for usage information.
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild
index 5571763ed4a7a..3d16b8f676cd0 100644
--- a/system/vifm/vifm.SlackBuild
+++ b/system/vifm/vifm.SlackBuild
@@ -6,8 +6,8 @@
# Modified by Charles E. Kauffman
PRGNAM=vifm
-VERSION=${VERSION:-0.8.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,7 +57,6 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --datadir=/usr/doc/ \
--build=$ARCH-slackware-linux
# Since datarootdir doesn't work as expected, modify Makefile for png and desktop files.
@@ -69,10 +68,11 @@ make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Add the version number to the /usr/doc/vifm directory.
+# and move it to the correct location.
+mv $PKG/usr/share/doc $PKG/usr/doc
mv $PKG/usr/doc/vifm $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING ChangeLog INSTALL README TODO data/vim data/colors \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS BUGS COPYING ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install