aboutsummaryrefslogtreecommitdiff
path: root/graphics/qcomicbook
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-06-18 11:50:08 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-23 01:14:05 +0700
commit648a4846a8709150bb8f4dac5a6cd8ff0b08035c (patch)
tree1fe8b20ad6219b91f61cb2029a5ac5f1a53d85ae /graphics/qcomicbook
parentf22d176a9ab570d6a656b158abb4505765370b84 (diff)
graphics/qcomicbook: Updated for version 0.9.1 (qt5-based).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/qcomicbook')
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild20
-rw-r--r--graphics/qcomicbook/qcomicbook.info6
2 files changed, 14 insertions, 12 deletions
diff --git a/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index c81a58946ab8..44ca87d71f8f 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -28,13 +28,14 @@
# revision date 2012/07/23
PRGNAM=qcomicbook
-VERSION=${VERSION:-0.9.0}
+SRCNAM=QComicBook
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +46,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,17 +62,18 @@ fi
set -e
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $SRCNAM-$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 {} \;
+ -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
@@ -95,12 +97,12 @@ make install DESTDIR=$PKG
mv $PKG/usr/share/man $PKG/usr/man
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog NEWS README THANKS TODO \
+ AUTHORS COPYING ChangeLog README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/qcomicbook/qcomicbook.info b/graphics/qcomicbook/qcomicbook.info
index 5e21158cc497..5e7678fde90c 100644
--- a/graphics/qcomicbook/qcomicbook.info
+++ b/graphics/qcomicbook/qcomicbook.info
@@ -1,8 +1,8 @@
PRGNAM="qcomicbook"
-VERSION="0.9.0"
+VERSION="0.9.1"
HOMEPAGE="https://github.com/stolowski/QComicBook"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/qcomicbook-0.9.0.tar.gz"
-MD5SUM="b209bfb081afd4c06eedb6bb08f957f0"
+DOWNLOAD="https://github.com/stolowski/QComicBook/archive/0.9.1/qcomicbook-0.9.1.tar.gz"
+MD5SUM="d8762ff0698652cd2c383dbaa30cc132"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="unrar"