aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/vifm/vifm.SlackBuild20
-rw-r--r--system/vifm/vifm.info6
2 files changed, 11 insertions, 15 deletions
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild
index b5d1f244b82c6..1d31935c77d38 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.1}
+VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,8 +45,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -59,25 +60,20 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --datadir=/usr/doc/ \
--build=$ARCH-slackware-linux $WITHOUTX
make
make install-strip DESTDIR=$PKG
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/man -type f -exec gzip -9 {} \;
-#Move files from /usr/share/vifm to the docs directory
-mv $PKG/usr/share/vifm/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -R $PKG/usr/share
+#Add the version number to the /usr/doc/vifm directory.
+mv $PKG/usr/doc/vifm $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS BUGS COPYING ChangeLog INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ -r $TMP/$PRGNAM-$VERSION/data/vim $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/vifm/vifm.info b/system/vifm/vifm.info
index 5eb9fb9965bd1..daadf2ab06378 100644
--- a/system/vifm/vifm.info
+++ b/system/vifm/vifm.info
@@ -1,8 +1,8 @@
PRGNAM="vifm"
-VERSION="0.7.1"
+VERSION="0.7.2"
HOMEPAGE="http://vifm.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/vifm/vifm-0.7.1.tar.bz2"
-MD5SUM="b90b05266a3a0159aa1ce88cb163a2fd"
+DOWNLOAD="http://downloads.sourceforge.net/vifm/vifm-0.7.2.tar.bz2"
+MD5SUM="b95229d69efd66ac1e148b1a454f1c97"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Charles E. Kauffman"