diff options
author | B. Watson <urchlay@slackware.uk> | 2024-03-29 15:07:44 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-30 09:39:43 +0700 |
commit | 2fc3bd120cfac158ab979573dcc7035adfe7062d (patch) | |
tree | b8fc3a3144e3016e84a6fb614139c029216be60d | |
parent | 116289416ef2b71b9b0b159f233a4cfcda9a4e66 (diff) |
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>
-rw-r--r-- | desktop/i3situation/i3situation.SlackBuild | 14 | ||||
-rw-r--r-- | desktop/i3situation/i3situation.info | 2 |
2 files changed, 6 insertions, 10 deletions
diff --git a/desktop/i3situation/i3situation.SlackBuild b/desktop/i3situation/i3situation.SlackBuild index 28bf349d8e051..e787b1a622634 100644 --- a/desktop/i3situation/i3situation.SlackBuild +++ b/desktop/i3situation/i3situation.SlackBuild @@ -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 diff --git a/desktop/i3situation/i3situation.info b/desktop/i3situation/i3situation.info index 78264e83e658a..7f0b1e891de15 100644 --- a/desktop/i3situation/i3situation.info +++ b/desktop/i3situation/i3situation.info @@ -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="" |