diff --git a/development/universal-ctags/README b/development/universal-ctags/README index ec179dbaab..1affbcfee5 100644 --- a/development/universal-ctags/README +++ b/development/universal-ctags/README @@ -10,5 +10,5 @@ together. Note that the resulting package will overwrite Exuberant Ctags included in Slackware's vim package: /usr/bin/ctags -/usr/man/man1/ctags.1.gz +/usr/man/man1/ctags.1.gz (only if rst2man command is available) In case you remove this package, you'll need to reinstall vim. diff --git a/development/universal-ctags/universal-ctags.SlackBuild b/development/universal-ctags/universal-ctags.SlackBuild index ffa9e363cc..b9a3f0da66 100644 --- a/development/universal-ctags/universal-ctags.SlackBuild +++ b/development/universal-ctags/universal-ctags.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=universal-ctags -VERSION=${VERSION:-f2d8a3d} -GITVERSION=${GITVERSION:-f2d8a3d9390dbfb84a5c64c4db344d104d9dc6e0} +VERSION=${VERSION:-29ae3cc} +GITVERSION=${GITVERSION:-29ae3cc01201d1bebd5309e436ea8e7e7643deb1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -86,8 +86,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -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 +# Generated only if rst2man is available. +if [ -d $PKG/usr/man ] +then + 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 +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING docs/*.rst $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/universal-ctags/universal-ctags.info b/development/universal-ctags/universal-ctags.info index 279aac42d2..bcc6f6ad6d 100644 --- a/development/universal-ctags/universal-ctags.info +++ b/development/universal-ctags/universal-ctags.info @@ -1,8 +1,8 @@ PRGNAM="universal-ctags" -VERSION="f2d8a3d" +VERSION="29ae3cc" HOMEPAGE="https://ctags.io/" -DOWNLOAD="https://github.com/universal-ctags/ctags/archive/f2d8a3d9390dbfb84a5c64c4db344d104d9dc6e0.zip" -MD5SUM="a3c7696cdb5dc008fbc712356032d946" +DOWNLOAD="https://github.com/universal-ctags/ctags/archive/29ae3cc01201d1bebd5309e436ea8e7e7643deb1.zip" +MD5SUM="61b48bf464270a8c82d9e0b0b313a55a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="%README%"