diff --git a/packages/ruby/pkgbuild.py b/packages/ruby/pkgbuild.py new file mode 100644 index 0000000..66e40de --- /dev/null +++ b/packages/ruby/pkgbuild.py @@ -0,0 +1,28 @@ +from lib.make import * +from lib import cpp, arch + + +version("4.0.9") +description("an open-source, object-oriented programming language") +maintainer("sisungo ") +source_url("https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.gz") + +builddep("shortcut/c") +builddep("shortcut/autotools") + + +def build(): + cpp.configure([ + "--enable-rpath", + "--enable-shared", + "--disable-yjit", + "--disable-zjit", + "--without-git", + "--without-gcc", + "--without-gmp", + "--without-jemalloc", + ]) + cpp.make() + cpp.make_install() + +on_build(build)