summaryrefslogtreecommitdiff
path: root/system/vifm/vifm.SlackBuild
diff options
context:
space:
mode:
authorCharles E. Kauffman <molbolom@gmail.com>2012-04-15 22:32:30 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-16 05:36:01 -0500
commite1702f5506c31535f453e1cbc7c2caeaad3f9525 (patch)
tree7e648f2b32038111c6121a3cac451b5baf9e16dc /system/vifm/vifm.SlackBuild
parent160bb34e189d137dd74b72864cb4312d6e4b544d (diff)
downloadslackbuilds-e1702f5506c31535f453e1cbc7c2caeaad3f9525.tar.gz
system/vifm: Updated for version 0.7.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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