diff options
author | Charles E. Kauffman <molbolom@gmail.com> | 2018-02-09 23:16:27 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-09 23:16:27 +0700 |
commit | ce04dbaab13300076e14aff204d640fcf3318f40 (patch) | |
tree | 4c8a51d8e20de3a2fa5c9758423274ad87683756 /system/vifm | |
parent | 51c404daf77e68a028617042b22c1f8362e102a3 (diff) |
system/vifm: Updated for version 0.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vifm')
-rw-r--r-- | system/vifm/vifm.SlackBuild | 23 | ||||
-rw-r--r-- | system/vifm/vifm.info | 6 |
2 files changed, 24 insertions, 5 deletions
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild index 26ccf68f2b176..dfbce11323db1 100644 --- a/system/vifm/vifm.SlackBuild +++ b/system/vifm/vifm.SlackBuild @@ -5,8 +5,11 @@ # Originally Written by V'yacheslav Stetskevych # Modified by Charles E. Kauffman +# [1-31-18] : Added BETA variable to keep with Slackware's packaging rules. +# export VERSION=0.9.1 BETA=beta; sh vifm.SlackBuild + PRGNAM=vifm -VERSION=${VERSION:-0.9} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,6 +40,14 @@ else LIBDIRSUFFIX="" fi +# Since vifm's beta naming breaks Slackware's packaging rules, +# add the beta suffix, then rename before package creation so +# it preserves Slackware's package naming rules. +if [ "$BETA" != "" ] +then + VERSION=$VERSION-$BETA +fi + set -e rm -rf $PKG @@ -67,12 +78,20 @@ make install DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; + +# If this is a beta package, rename the version to preserve +# Slackware's package naming rules. +if [ "$BETA" != "" ] +then + VERSION=${VERSION//-/_} +fi + # Add the version number to the /usr/doc/vifm directory. # and move it to the correct location. mv $PKG/usr/share/doc $PKG/usr/doc mv $PKG/usr/doc/vifm $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS BUGS COPYING ChangeLog INSTALL README TODO THANKS $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 3a2ed18906244..8cdef335f00de 100644 --- a/system/vifm/vifm.info +++ b/system/vifm/vifm.info @@ -1,8 +1,8 @@ PRGNAM="vifm" -VERSION="0.9" +VERSION="0.9.1" HOMEPAGE="https://vifm.info" -DOWNLOAD="https://downloads.sourceforge.net/vifm/vifm-0.9.tar.bz2" -MD5SUM="a523a16a7a0170141b5a36cb67251490" +DOWNLOAD="https://downloads.sourceforge.net/vifm/vifm-0.9.1.tar.bz2" +MD5SUM="b3293b1b6fdd14bc2fcab61fdbbd0d05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |