aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/krop/krop.SlackBuild9
-rw-r--r--office/krop/krop.info6
2 files changed, 10 insertions, 5 deletions
diff --git a/office/krop/krop.SlackBuild b/office/krop/krop.SlackBuild
index 582828c2c71f9..9c49d8e7cd1c2 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 decfb24fdcd3c..27b6f3f9de131 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"