aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-10-18 04:18:09 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-02 19:28:34 +0700
commit8cb105bca441f384ac4ae88f97a54b7020e83d7f (patch)
treed24fdf542455ef9fd8b3865ef28e617582486ea7
parent4e56b28c0b8e3584f293ee3a71377927da5ef88a (diff)
development/premake5: Remove false lua dep.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/premake5/premake5.SlackBuild16
-rw-r--r--development/premake5/premake5.info2
2 files changed, 8 insertions, 10 deletions
diff --git a/development/premake5/premake5.SlackBuild b/development/premake5/premake5.SlackBuild
index 9a1d908b2f13..0774d74d6b5d 100644
--- a/development/premake5/premake5.SlackBuild
+++ b/development/premake5/premake5.SlackBuild
@@ -23,11 +23,14 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+# 20241018 bkw: Modified by SlackBuilds.org, BUILD=2.
+# - remove false dependency on lua.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=premake5
VERSION=${VERSION:-5.0.0_beta2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,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
@@ -53,6 +53,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# 20241018 bkw: Note: these variables are never actually used!
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -78,11 +79,8 @@ rm -rf premake-$SRC_VERSION-src
unzip $CWD/premake-$SRC_VERSION-src.zip
cd premake-$SRC_VERSION-src
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
cd build/gmake2.unix
make config=release
diff --git a/development/premake5/premake5.info b/development/premake5/premake5.info
index af73ba53e03c..3c6bb5f6887f 100644
--- a/development/premake5/premake5.info
+++ b/development/premake5/premake5.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/premake/premake-core/releases/download/v5.0.0-beta2
MD5SUM="23b436c9b740f04e57831c76b18b76bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua"
+REQUIRES=""
MAINTAINER="Sean Eubanks"
EMAIL="seanmeu@protonmail.com"