summaryrefslogtreecommitdiff
path: root/system/vifm/vifm.SlackBuild
diff options
context:
space:
mode:
authorCharles E. Kauffman <molbolom@gmail.com>2013-11-02 22:53:33 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-11-02 22:53:33 -0500
commit93aabdd81bef5200aac8f14752b3457068bda9d2 (patch)
tree2c01ef34772894e40e470184fdd2d2032e608c9a /system/vifm/vifm.SlackBuild
parentb56eb3f0c71866968fdd8475a00fd41b5d0aa5f3 (diff)
downloadslackbuilds-93aabdd81bef5200aac8f14752b3457068bda9d2.tar.gz
system/vifm: Updated for version 0.7.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/vifm/vifm.SlackBuild')
-rw-r--r--system/vifm/vifm.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild
index 36b72dfe5c..995195375a 100644
--- a/system/vifm/vifm.SlackBuild
+++ b/system/vifm/vifm.SlackBuild
@@ -6,7 +6,7 @@
# Modified by Charles E. Kauffman
PRGNAM=vifm
-VERSION=${VERSION:-0.7.5}
+VERSION=${VERSION:-0.7.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +60,9 @@ CXXFLAGS="$SLKCFLAGS" \
--datadir=/usr/doc/ \
--build=$ARCH-slackware-linux
+# Since datarootdir doesn't work as expected, modify Makefile for png and desktop files.
+sed -i -e 's;dir)/applications;rootdir)/applications;' -e 's;dir)/pixmaps;rootdir)/pixmaps;' src/Makefile
+
make
make install DESTDIR=$PKG
@@ -67,7 +70,6 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Add the version number to the /usr/doc/vifm directory.
mv $PKG/usr/doc/vifm $PKG/usr/doc/$PRGNAM-$VERSION
-( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM )
cp -a \
AUTHORS BUGS COPYING ChangeLog INSTALL README TODO data/vim data/colors \