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.SlackBuild20
1 files changed, 8 insertions, 12 deletions
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild
index b5d1f244b8..1d31935c77 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