diff options
Diffstat (limited to 'development/neovim/neovim.SlackBuild')
-rw-r--r-- | development/neovim/neovim.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/development/neovim/neovim.SlackBuild b/development/neovim/neovim.SlackBuild index 36bed8a09ca5..6c23564e9a1d 100644 --- a/development/neovim/neovim.SlackBuild +++ b/development/neovim/neovim.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for neovim -# Copyright 2014 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=neovim -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,19 +67,18 @@ 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build cmake \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_MANDIR=/usr/man \ -DLIBUV_LIBRARY=/usr/lib${LIBDIRSUFFIX}/libuv.so \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ .. - make make install DESTDIR=$PKG cd .. @@ -90,7 +89,9 @@ 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 +cp -a \ + CONTRIBUTING.md README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |