summaryrefslogtreecommitdiff
path: root/system/vifm
diff options
context:
space:
mode:
authorCharles E. Kauffman <molbolom@gmail.com>2014-07-03 15:34:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-03 19:23:20 +0700
commita23266c11ba29de52f9b7ea2d4e8fb6fc2b93d2c (patch)
tree88fdfe5effa862dbd79fa6a04ab2e6b6eeee13ca /system/vifm
parent8938556b0e0413a0bcd85f285f2917ba27fdb697 (diff)
downloadslackbuilds-a23266c11ba29de52f9b7ea2d4e8fb6fc2b93d2c.tar.gz
system/vifm: Updated for version 0.7.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vifm')
-rw-r--r--system/vifm/doinst.sh9
-rw-r--r--system/vifm/vifm.SlackBuild14
-rw-r--r--system/vifm/vifm.info6
3 files changed, 19 insertions, 10 deletions
diff --git a/system/vifm/doinst.sh b/system/vifm/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/vifm/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild
index c49301fde6..eafb8eb817 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.6}
+VERSION=${VERSION:-0.7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,10 +47,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -71,13 +71,13 @@ 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
-cp -a \
- AUTHORS BUGS COPYING ChangeLog INSTALL README TODO data/vim data/colors \
+cp -a AUTHORS BUGS COPYING ChangeLog INSTALL README TODO data/vim data/colors \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/vifm/vifm.info b/system/vifm/vifm.info
index cd7c152bef..724b1f9563 100644
--- a/system/vifm/vifm.info
+++ b/system/vifm/vifm.info
@@ -1,8 +1,8 @@
PRGNAM="vifm"
-VERSION="0.7.6"
+VERSION="0.7.7"
HOMEPAGE="http://vifm.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/vifm/vifm-0.7.6.tar.bz2"
-MD5SUM="90c19079288e53aa3f9ee63f324cdfb4"
+DOWNLOAD="http://downloads.sourceforge.net/vifm/vifm-0.7.7.tar.bz2"
+MD5SUM="6d1a5b36a1710b8118334a000ab8a5e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""