From 6df5778c732ecb1a023dd6e9020048a89c8a502c Mon Sep 17 00:00:00 2001 From: Fellype do Nascimento Date: Thu, 2 Mar 2017 23:09:26 +0700 Subject: development/extra-cmake-modules: Updated for version 5.31.0. Signed-off-by: Willy Sudiarto Raharjo --- .../extra-cmake-modules/extra-cmake-modules.SlackBuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'development/extra-cmake-modules/extra-cmake-modules.SlackBuild') 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} -- cgit v1.2.3