diff options
author | B. Watson <yalhcru@gmail.com> | 2019-11-30 19:32:21 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-15 17:06:20 +0700 |
commit | 4352d0eafa8bd17276cb0e0e91979c210b8b4c06 (patch) | |
tree | d2ad0ae6da2d4c0b5a806f41f4063de9db624c40 /office/djvusmooth/djvusmooth.SlackBuild | |
parent | f336e9a45a916ed6e156e626c37b4b8c16cb36e3 (diff) |
office/djvusmooth: Updated for version 0.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'office/djvusmooth/djvusmooth.SlackBuild')
-rw-r--r-- | office/djvusmooth/djvusmooth.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/office/djvusmooth/djvusmooth.SlackBuild b/office/djvusmooth/djvusmooth.SlackBuild index cef458bec7fc6..4230c990e3fa3 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 |