summaryrefslogtreecommitdiff
path: root/office/krop/krop.SlackBuild
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2018-10-30 11:59:40 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-03 07:46:39 +0700
commitf5fb81b098d10a2bf614337b44faa6daab9b679e (patch)
tree3a33106c84951caa03f6a4bfce7fcffaef98656d /office/krop/krop.SlackBuild
parent62d13d2690fb354838fdae2ad8c56bea6bf96a9c (diff)
downloadslackbuilds-f5fb81b098d10a2bf614337b44faa6daab9b679e.tar.gz
office/krop: Updated for version 0.5.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/krop/krop.SlackBuild')
-rw-r--r--office/krop/krop.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/office/krop/krop.SlackBuild b/office/krop/krop.SlackBuild
index 582828c2c7..9c49d8e7cd 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