aboutsummaryrefslogtreecommitdiff
path: root/office/paps/paps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/paps/paps.SlackBuild')
-rw-r--r--office/paps/paps.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/office/paps/paps.SlackBuild b/office/paps/paps.SlackBuild
index dbe2e0c7ad992..4cd6cebab1f45 100644
--- a/office/paps/paps.SlackBuild
+++ b/office/paps/paps.SlackBuild
@@ -23,6 +23,8 @@
# Now maintained by B. Watson <yalhcru@gmail.com>.
+# 20191130 bkw: update for v0.7.1. upstream removed README.md and examples.
+
# 20180629 bkw:
# - Take over maintenance.
# - Include README.md (not README) in doc dir, since README just says
@@ -34,8 +36,8 @@
# - Simplify script a bit.
PRGNAM=paps
-VERSION=${VERSION:-0.7.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.7.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,11 +76,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -88,7 +87,6 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc/paps \
--mandir=/usr/man \
- --enable-static=no \
--build=$ARCH-slackware-linux
make
@@ -96,8 +94,7 @@ make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.LIB ChangeLog README.md NEWS examples/* \
- $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a AUTHORS COPYING.LIB ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install