summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-29 17:09:05 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-29 18:09:13 +0200
commit9111b07d59f461a56f1300f7b0de1cfcd27a26fe (patch)
treef3a6338d5b7a456d5456d81579d6beb5a573f013 /dev-lang/luau
parentgames-util/cartridges: drop old 2.1 (diff)
downloadgentoo-9111b07d59f461a56f1300f7b0de1cfcd27a26fe.tar.gz
gentoo-9111b07d59f461a56f1300f7b0de1cfcd27a26fe.tar.bz2
gentoo-9111b07d59f461a56f1300f7b0de1cfcd27a26fe.zip
dev-lang/luau: bump to 0.588
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/luau')
-rw-r--r--dev-lang/luau/Manifest1
-rw-r--r--dev-lang/luau/luau-0.588.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest
index fc291b39c46c..06ff21f52966 100644
--- a/dev-lang/luau/Manifest
+++ b/dev-lang/luau/Manifest
@@ -1,2 +1,3 @@
DIST luau-0.583.tar.gz 5575214 BLAKE2B 17088d4d5026854a5aac29d80a20ab8901753a3d8b89c21491df44202d07433f801d10a8e9443bc21f3318cda059000e43ed2cc2cb5926d3464f47ac7352a3c4 SHA512 45964e485354839c42b44f1482b372d47bce95302122fbba2288a0880bc964e30e934bdd6a62d0b6b2e6d725bdbe3332f67dc136fa64b28be9b3a0b2bc55d16b
DIST luau-0.584.tar.gz 5577843 BLAKE2B a38fcc97f947a852bec3406ed4d80e8596f546e94f8f784b2dd322b7a61e8e0b28dda51815fb53541dc16a96ce8c2783fffdc958077671ce4db97d7e1e92d970 SHA512 826f72cd43f2ebdb4a17441ca56c86d6fbe7ce22fa7017493b97b01d4ca41956faff0f88d72e0ccf1afc202c451a8ba821d02030ee406cc3e2e496bd239daf5d
+DIST luau-0.588.tar.gz 5988569 BLAKE2B 37017ad22171e919111ffa2258f41080f04b3969da3e405f2d35aab23ece8ec5d0ed956c312d14dbee3a94334a5b17d0c572bce2c39feb7a1a97cf828f918299 SHA512 03c9767d09244e3a51b811a551f3752418061e5ea570e39c6526c725bc9b6f8545f746ce339805e3d83388f8ad6ba3ff87c456e91b636d2ca8c25810c625ada4
diff --git a/dev-lang/luau/luau-0.588.ebuild b/dev-lang/luau/luau-0.588.ebuild
new file mode 100644
index 000000000000..c7bee4916d90
--- /dev/null
+++ b/dev-lang/luau/luau-0.588.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
+HOMEPAGE="https://luau-lang.org/
+ https://github.com/Roblox/luau/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Roblox/${PN}.git"
+else
+ SRC_URI="https://github.com/Roblox/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+DOCS=( CONTRIBUTING.md README.md SECURITY.md )
+
+src_test() {
+ "${BUILD_DIR}"/Luau.UnitTest || die
+ "${BUILD_DIR}"/Luau.Conformance || die
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
+
+ einstalldocs
+}