desktop/i3situation: Fix github URL and doc perms.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-03-29 15:07:44 -04:00 committed by Willy Sudiarto Raharjo
parent 116289416e
commit 2fc3bd120c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 10 deletions

View File

@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20240329 bkw: BUILD=2, modified by SlackBuild.org:
# - fix README.md permissions (0644, not 0755).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=i3situation
VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +41,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
@ -73,11 +73,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
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 {} \;
find . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} +
python3 setup.py install --root=$PKG

View File

@ -1,7 +1,7 @@
PRGNAM="i3situation"
VERSION="1.0.5"
HOMEPAGE="https://github.com/HarveyHunt/i3situation"
DOWNLOAD="https://github.com/HarveyHunt/i3situation/archive/1.0.5.tar.gz"
DOWNLOAD="https://github.com/HarveyHunt/i3situation/archive/1.0.5/i3situation-1.0.5.tar.gz"
MD5SUM="ce4654e9b63eac91078a51246ae3b0ac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""