summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-08-26 11:14:26 +0200
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:28:18 +0100
commitc3b77fc68021b187b21f3b9ebc2c6d3f65994227 (patch)
treecb87782e4afec071b3d39024346a64d2519f6650
parentd1176fbc1fbfcbd0dc9c4ee21d8847a0b1e8c8f3 (diff)
downloadslackbuilds-c3b77fc68021b187b21f3b9ebc2c6d3f65994227.tar.gz
graphics/qcomicbook: Fixed downlad link.
Thanks to B. Watson and Thomas Morper for the png fixes Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild10
-rw-r--r--graphics/qcomicbook/qcomicbook.info2
2 files changed, 11 insertions, 1 deletions
diff --git a/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index 42ddc73533..c81a58946a 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -73,6 +73,16 @@ 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 {} \;
+# Icon info in the desktop file should not have a file extension
+sed -i 's/\.png$//' data/qcomicbook.desktop
+
+# Remove the iCCP chunk from the PNG images to avoid warnings
+for i in data/*.png; do
+ mv $i $i.old.png
+ convert $i.old.png $i
+ rm $i.old.png
+done
+
cmake . \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/graphics/qcomicbook/qcomicbook.info b/graphics/qcomicbook/qcomicbook.info
index a639fa33f8..1212480fb6 100644
--- a/graphics/qcomicbook/qcomicbook.info
+++ b/graphics/qcomicbook/qcomicbook.info
@@ -1,7 +1,7 @@
PRGNAM="qcomicbook"
VERSION="0.9.0"
HOMEPAGE="http://qcomicbook.org"
-DOWNLOAD="http://qcomicbook.org/releases/qcomicbook-0.9.0.tar.gz"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/qcomicbook-0.9.0.tar.gz"
MD5SUM="b209bfb081afd4c06eedb6bb08f957f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""