diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-26 11:12:11 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2022-02-26 17:34:49 -0600 |
commit | 12851bde158d43f488337205bb7f8fd743482536 (patch) | |
tree | ef9048bc36f32f108387ab96b6d84774f1c33147 /graphics/qcomicbook/qcomicbook.SlackBuild | |
parent | 56de3edea81ad94b7db96d3c9d9d40cf9b12f808 (diff) | |
download | slackbuilds-12851bde158d43f488337205bb7f8fd743482536.tar.gz |
graphics/qcomicbook: Fix github filename.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/qcomicbook/qcomicbook.SlackBuild')
-rw-r--r-- | graphics/qcomicbook/qcomicbook.SlackBuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild index 557fab431d..c863fb1248 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 \ |