diff options
Diffstat (limited to 'desktop/gtk-theme-Bluebird/gtk-theme-Bluebird.SlackBuild')
-rw-r--r-- | desktop/gtk-theme-Bluebird/gtk-theme-Bluebird.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/desktop/gtk-theme-Bluebird/gtk-theme-Bluebird.SlackBuild b/desktop/gtk-theme-Bluebird/gtk-theme-Bluebird.SlackBuild index 0e36c7dbb8..7e4f9f6cbb 100644 --- a/desktop/gtk-theme-Bluebird/gtk-theme-Bluebird.SlackBuild +++ b/desktop/gtk-theme-Bluebird/gtk-theme-Bluebird.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for gtk-theme-Bluebird. # # Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2020-2022 Aaditya Bagga <aaditya_gnulinux@zoho.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,16 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="gtk-theme-Bluebird" -VERSION=${VERSION:-1.2} +VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# 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 @@ -56,6 +54,11 @@ mkdir $PRGNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION cd $PRGNAM-$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 {} \; # remove git stuff. rm -f $SRCNAM-$VERSION/.gitignore @@ -64,7 +67,7 @@ mkdir -p $PKG/usr/share/themes cp -a $SRCNAM-$VERSION $PKG/usr/share/themes/Bluebird mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/themes/Bluebird/{LICENSE.*,README} $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/themes/Bluebird/{LICENSE.*,README.md} $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |