diff options
author | Charles E. Kauffman <molbolom@gmail.com> | 2015-07-22 08:32:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-07-22 08:32:56 +0700 |
commit | 21e671657019bc5e06ae9c35d62f98330b849f2d (patch) | |
tree | e55873af1f3904ced2a43dd6426f8a369c244b45 /system/vifm/vifm.SlackBuild | |
parent | ddc6af12f38244da82199b59094cfcdbe3638c66 (diff) |
system/vifm: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vifm/vifm.SlackBuild')
-rw-r--r-- | system/vifm/vifm.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/vifm/vifm.SlackBuild b/system/vifm/vifm.SlackBuild index 5571763ed4a7a..3d16b8f676cd0 100644 --- a/system/vifm/vifm.SlackBuild +++ b/system/vifm/vifm.SlackBuild @@ -6,8 +6,8 @@ # Modified by Charles E. Kauffman PRGNAM=vifm -VERSION=${VERSION:-0.8.0} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.8} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -57,7 +57,6 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ - --datadir=/usr/doc/ \ --build=$ARCH-slackware-linux # Since datarootdir doesn't work as expected, modify Makefile for png and desktop files. @@ -69,10 +68,11 @@ make install DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; # 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 data/vim data/colors \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS BUGS COPYING ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |