diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2015-07-26 10:57:09 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-01 07:53:23 +0700 |
commit | ca30de56219e1a57c17e608de534918a7d68ccf4 (patch) | |
tree | 4115bd480f76c192d8c1d4b195e4ca1750335592 | |
parent | a6ea7ee372add5a94e9b8f69436e6eceed690566 (diff) | |
download | slackbuilds-ca30de56219e1a57c17e608de534918a7d68ccf4.tar.gz |
development/neovim: Fix man page installation.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r-- | development/neovim/neovim.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/development/neovim/neovim.SlackBuild b/development/neovim/neovim.SlackBuild index 6668bdbad2..84c8019cce 100644 --- a/development/neovim/neovim.SlackBuild +++ b/development/neovim/neovim.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=neovim VERSION=${VERSION:-20150721} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -76,6 +76,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ -DLUAJIT_LIBRARY=/usr/lib${LIBDIRSUFFIX} \ -DLIBUV_LIBRARY=/usr/lib${LIBDIRSUFFIX}/libuv.so \ -DMSGPACK_LIBRARY=/usr/lib${LIBDIRSUFFIX}/libmsgpack.so \ @@ -87,6 +88,9 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CONTRIBUTING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |