summaryrefslogtreecommitdiffstats
path: root/office/paps
diff options
context:
space:
mode:
author B. Watson2018-06-29 20:56:59 +0200
committer Willy Sudiarto Raharjo2018-07-07 01:54:20 +0200
commit27da7167c5dc089f703659fe386e5282b26e88ca (patch)
tree1e9ea45d5e56dd337540e677bb6981b7de4753a0 /office/paps
parent9bf0e4750613dc91c62358f58dee1d2792bc8042 (diff)
downloadslackbuilds-27da7167c5dc089f703659fe386e5282b26e88ca.tar.gz
office/paps: New maintainer, expand README.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'office/paps')
-rw-r--r--office/paps/README8
-rw-r--r--office/paps/paps.SlackBuild27
-rw-r--r--office/paps/paps.info4
-rw-r--r--office/paps/slack-desc6
4 files changed, 29 insertions, 16 deletions
diff --git a/office/paps/README b/office/paps/README
index 2f2c612401..0f0dd83909 100644
--- a/office/paps/README
+++ b/office/paps/README
@@ -1,3 +1,5 @@
-paps reads a UTF-8 encoded file and generates a PostScript language rendering
-of it. The rendering is done by creating outline curves through the pango
-ft2 backend.
+paps (Unicode-aware text to PostScript/PDF/SVG converter)
+
+paps reads a UTF-8 encoded file and generates a PostScript language
+(or PDF, or SVG) rendering of it, on standard output. The rendering is
+done by creating outline curves through the pango ft2 backend.
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 <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
diff --git a/office/paps/paps.info b/office/paps/paps.info
index c1a99100ee..abee426617 100644
--- a/office/paps/paps.info
+++ b/office/paps/paps.info
@@ -6,5 +6,5 @@ MD5SUM="17e97ec3697ca9ec03f36fc20d002b36"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Leonard Schmidt"
-EMAIL="lems@gmx.net"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/office/paps/slack-desc b/office/paps/slack-desc
index ed6a8dea62..8924423a6c 100644
--- a/office/paps/slack-desc
+++ b/office/paps/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-paps: paps (Unicode-aware text to PostScript converter)
+paps: paps (Unicode-aware text to PostScript/PDF/SVG converter)
paps:
paps: paps reads a UTF-8 encoded file and generates a PostScript language
-paps: rendering of it. The rendering is done by creating outline curves
-paps: through the pango ft2 backend.
+paps: (or PDF, or SVG) rendering of it, on standard output. The rendering
+paps: is done by creating outline curves through the pango ft2 backend.
paps:
paps:
paps: