diff options
Diffstat (limited to 'development/neovim')
-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 |