summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/paps/paps.SlackBuild17
-rw-r--r--office/paps/paps.info6
2 files changed, 10 insertions, 13 deletions
diff --git a/office/paps/paps.SlackBuild b/office/paps/paps.SlackBuild
index dbe2e0c7ad..4cd6cebab1 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
diff --git a/office/paps/paps.info b/office/paps/paps.info
index abee426617..70cd0a7d6e 100644
--- a/office/paps/paps.info
+++ b/office/paps/paps.info
@@ -1,8 +1,8 @@
PRGNAM="paps"
-VERSION="0.7.0"
+VERSION="0.7.1"
HOMEPAGE="https://github.com/dov/paps"
-DOWNLOAD="https://github.com/dov/paps/archive/0.7.0/paps-0.7.0.tar.gz"
-MD5SUM="17e97ec3697ca9ec03f36fc20d002b36"
+DOWNLOAD="https://github.com/dov/paps/releases/download/v0.7.1/paps-0.7.1.tar.gz"
+MD5SUM="b058bcc7d958fb53408942088cc1f365"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""