diff options
author | Fellype do Nascimento <fellype(at)gmail.com> | 2017-03-02 23:09:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-03 21:21:53 +0700 |
commit | 6df5778c732ecb1a023dd6e9020048a89c8a502c (patch) | |
tree | 2c9faf2b7b947cd1fe32d5a9d56da20b48f197b5 /development/extra-cmake-modules/extra-cmake-modules.SlackBuild | |
parent | 77335afa44f693d09977e54027e68296da9b3de2 (diff) |
development/extra-cmake-modules: Updated for version 5.31.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/extra-cmake-modules/extra-cmake-modules.SlackBuild')
-rw-r--r-- | development/extra-cmake-modules/extra-cmake-modules.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild index 06c5f5891327..2a0db1114a9f 100644 --- a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild +++ b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild @@ -25,7 +25,7 @@ # Adapted by Fellype do Nascimento - fellype(at)gmail.com PRGNAM=extra-cmake-modules -VERSION=${VERSION:-5.26.0} +VERSION=${VERSION:-5.31.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,16 +84,15 @@ 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 COPYING-CMAKE-SCRIPTS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING-CMAKE-SCRIPTS README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -if [ -e /usr/bin/requiredbuilder ]; then - requiredbuilder -v -y -s $CWD $PKG -fi - cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |