From 27da7167c5dc089f703659fe386e5282b26e88ca Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 29 Jun 2018 14:56:59 -0400 Subject: office/paps: New maintainer, expand README. Signed-off-by: B. Watson --- office/paps/paps.SlackBuild | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'office/paps/paps.SlackBuild') diff --git a/office/paps/paps.SlackBuild b/office/paps/paps.SlackBuild index 2d68b03558..dbe2e0c7ad 100644 --- a/office/paps/paps.SlackBuild +++ b/office/paps/paps.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for paps -# Copyright (c) 2015 Leonard Schmidt +# Copyright (c) 2015 Leonard Schmidt # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -21,9 +21,21 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Now maintained by B. Watson . + +# 20180629 bkw: +# - Take over maintenance. +# - Include README.md (not README) in doc dir, since README just says +# "see README.md". BUILD=2. +# - Add NEWS and example to docdir. +# - Mention PDF and SVG in the README, since those are supported output +# formats, and very useful ones... +# - Regenerate slack-desc from updated README. +# - Simplify script a bit. + PRGNAM=paps VERSION=${VERSION:-0.7.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,9 +76,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -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 {} \+ ./autogen.sh CFLAGS="$SLKCFLAGS" \ @@ -81,12 +93,11 @@ 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 +gzip -9 $PKG/usr/man/man1/$PRGNAM.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING.LIB ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a AUTHORS COPYING.LIB ChangeLog README.md NEWS examples/* \ + $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3