diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2018-10-30 11:59:40 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-03 07:46:39 +0700 |
commit | f5fb81b098d10a2bf614337b44faa6daab9b679e (patch) | |
tree | 3a33106c84951caa03f6a4bfce7fcffaef98656d | |
parent | 62d13d2690fb354838fdae2ad8c56bea6bf96a9c (diff) |
office/krop: Updated for version 0.5.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | office/krop/krop.SlackBuild | 9 | ||||
-rw-r--r-- | office/krop/krop.info | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/office/krop/krop.SlackBuild b/office/krop/krop.SlackBuild index 582828c2c71f..9c49d8e7cd1c 100644 --- a/office/krop/krop.SlackBuild +++ b/office/krop/krop.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=krop -VERSION=${VERSION:-0.5.0} +VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i 's/import sys.*/&\nsys.argv.append("--no-qt5")/' krop/config.py + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ python setup.py install --root=$PKG @@ -79,8 +81,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/share/applications install -m 0644 -o root -g root krop.desktop $PKG/usr/share/applications/ +mkdir -p $PKG/usr/man/man1 +gzip -c9 krop.1 > $PKG/usr/man/man1/krop.1.gz + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/office/krop/krop.info b/office/krop/krop.info index decfb24fdcd3..27b6f3f9de13 100644 --- a/office/krop/krop.info +++ b/office/krop/krop.info @@ -1,8 +1,8 @@ PRGNAM="krop" -VERSION="0.5.0" +VERSION="0.5.1" HOMEPAGE="http://arminstraub.com/computer/krop" -DOWNLOAD="http://arminstraub.com/downloads/krop/krop-0.5.0.tar.gz" -MD5SUM="ce1f54ac2be97fd48ac3c036b00e0c3f" +DOWNLOAD="https://github.com/arminstraub/krop/archive/v0.5.1/krop-0.5.1.tar.gz" +MD5SUM="ce3043ce29462d89c69e37d08097ab73" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-poppler-qt4 PyPDF2" |