aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-11-30 19:32:21 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:20 +0700
commit4352d0eafa8bd17276cb0e0e91979c210b8b4c06 (patch)
treed2ad0ae6da2d4c0b5a806f41f4063de9db624c40
parentf336e9a45a916ed6e156e626c37b4b8c16cb36e3 (diff)
office/djvusmooth: Updated for version 0.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--office/djvusmooth/djvusmooth.SlackBuild13
-rw-r--r--office/djvusmooth/djvusmooth.info8
2 files changed, 10 insertions, 11 deletions
diff --git a/office/djvusmooth/djvusmooth.SlackBuild b/office/djvusmooth/djvusmooth.SlackBuild
index cef458bec7fc..4230c990e3fa 100644
--- a/office/djvusmooth/djvusmooth.SlackBuild
+++ b/office/djvusmooth/djvusmooth.SlackBuild
@@ -6,8 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191130 bkw: update for v0.3, add required dep subprocess32
+
PRGNAM=djvusmooth
-VERSION=${VERSION:-0.2.19}
+VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,11 +36,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 {} \+
sed -i 's,share/man,man,' setup.py
python setup.py install --root=$PKG
@@ -51,7 +50,7 @@ cat $CWD/$PRGNAM.xpm > $PKG/usr/share/pixmaps/$PRGNAM.xpm
echo "Icon=$PRGNAM" >> $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/COPYING doc/changelog doc/credits.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/COPYING doc/changelog doc/credits* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/office/djvusmooth/djvusmooth.info b/office/djvusmooth/djvusmooth.info
index 72ccfe3fce3e..e3c5c425534a 100644
--- a/office/djvusmooth/djvusmooth.info
+++ b/office/djvusmooth/djvusmooth.info
@@ -1,10 +1,10 @@
PRGNAM="djvusmooth"
-VERSION="0.2.19"
+VERSION="0.3"
HOMEPAGE="http://jwilk.net/software/djvusmooth"
-DOWNLOAD="https://github.com/jwilk/djvusmooth/releases/download/0.2.19/djvusmooth-0.2.19.tar.gz"
-MD5SUM="d592bce9fdcdd8344ed0def9c8e6ee82"
+DOWNLOAD="https://github.com/jwilk/djvusmooth/releases/download/0.3/djvusmooth-0.3.tar.gz"
+MD5SUM="efb65f32eabd9c69c5a0a469d0547d04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython python-djvulibre"
+REQUIRES="wxPython python-djvulibre subprocess32"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"