aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-26 11:12:11 -0500
committerRobby Workman <rworkman@slackbuilds.org>2022-02-26 17:34:49 -0600
commit12851bde158d43f488337205bb7f8fd743482536 (patch)
treeef9048bc36f32f108387ab96b6d84774f1c33147 /graphics
parent56de3edea81ad94b7db96d3c9d9d40cf9b12f808 (diff)
graphics/qcomicbook: Fix github filename.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild14
-rw-r--r--graphics/qcomicbook/qcomicbook.info2
2 files changed, 5 insertions, 11 deletions
diff --git a/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index 557fab431dfc..c863fb1248e4 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -44,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,14 +73,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
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 \
+ -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
@@ -101,15 +98,12 @@ cmake . \
-DCMAKE_BUILD_TYPE=Release
make VERBOSE=1
-make install DESTDIR=$PKG
+make install/strip DESTDIR=$PKG
# Move manpage to correct location and gzip them
mv $PKG/usr/share/man $PKG/usr/man
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-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 README THANKS TODO \
diff --git a/graphics/qcomicbook/qcomicbook.info b/graphics/qcomicbook/qcomicbook.info
index 5e7678fde90c..5555ba25c526 100644
--- a/graphics/qcomicbook/qcomicbook.info
+++ b/graphics/qcomicbook/qcomicbook.info
@@ -1,7 +1,7 @@
PRGNAM="qcomicbook"
VERSION="0.9.1"
HOMEPAGE="https://github.com/stolowski/QComicBook"
-DOWNLOAD="https://github.com/stolowski/QComicBook/archive/0.9.1/qcomicbook-0.9.1.tar.gz"
+DOWNLOAD="https://github.com/stolowski/QComicBook/archive/0.9.1/QComicBook-0.9.1.tar.gz"
MD5SUM="d8762ff0698652cd2c383dbaa30cc132"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""