summaryrefslogtreecommitdiff
path: root/system/vifm/vifm.SlackBuild
diff options
context:
space:
mode:
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 \