aboutsummaryrefslogtreecommitdiff
path: root/office/paps/paps.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-06-29 14:56:59 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-07 06:54:20 +0700
commit27da7167c5dc089f703659fe386e5282b26e88ca (patch)
tree1e9ea45d5e56dd337540e677bb6981b7de4753a0 /office/paps/paps.SlackBuild
parent9bf0e4750613dc91c62358f58dee1d2792bc8042 (diff)
office/paps: New maintainer, expand README.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'office/paps/paps.SlackBuild')
-rw-r--r--office/paps/paps.SlackBuild27
1 files changed, 19 insertions, 8 deletions
diff --git a/office/paps/paps.SlackBuild b/office/paps/paps.SlackBuild
index 2d68b03558f67..dbe2e0c7ad992 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 <lems@gmx.net>
+# Copyright (c) 2015 Leonard Schmidt <email removed>
# 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 <yalhcru@gmail.com>.
+
+# 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