From ce7936fece7873bcd029caa1e5f50b73c6c9da45 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Sun, 2 Nov 2025 01:23:34 -0500 Subject: [PATCH] add: lily (#6993) * add: lily Signed-off-by: Owen-sz * not arch dependant Signed-off-by: Owen-sz * use pkg_devel_files macro Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * cursed but it works lol Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --------- Signed-off-by: Owen-sz Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/lily/anda.hcl | 5 +++++ anda/langs/lily/lily.spec | 45 +++++++++++++++++++++++++++++++++++++ anda/langs/lily/update.rhai | 1 + 3 files changed, 51 insertions(+) create mode 100644 anda/langs/lily/anda.hcl create mode 100644 anda/langs/lily/lily.spec create mode 100644 anda/langs/lily/update.rhai diff --git a/anda/langs/lily/anda.hcl b/anda/langs/lily/anda.hcl new file mode 100644 index 0000000000..ff1526cc87 --- /dev/null +++ b/anda/langs/lily/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "lily.spec" + } +} diff --git a/anda/langs/lily/lily.spec b/anda/langs/lily/lily.spec new file mode 100644 index 0000000000..94eb02687e --- /dev/null +++ b/anda/langs/lily/lily.spec @@ -0,0 +1,45 @@ +Name: lily +Summary: Interpreted language focused on expressiveness and type safety +Version: 2.2 +Release: 1%?dist +License: MIT +URL: https://github.com/fascinatedbox/lily +Source0: %url/archive/refs/tags/v%version.tar.gz +Packager: Owen Zimmerman + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: g++ + +%description +%{summary}. + +%package devel +Summary: Development files for lily +Requires: %{name} +%pkg_devel_files + +%prep +%autosetup -n %{name}-%{version} + +%build +%cmake +%cmake_build + +%install +install -Dm644 redhat-linux-build/lib/liblily.so %{buildroot}/usr/lib64/liblily.so +%cmake_install + +%files +%doc README.md RELEASES.md +%license LICENSE.txt +%{_bindir}/lily + +%files devel +/usr/lib64/liblily.so +%ghost /usr/lib/liblily.so +%{_includedir}/lily/lily.h + +%changelog +* Thu Oct 30 2025 Owen Zimmerman +- Initial package diff --git a/anda/langs/lily/update.rhai b/anda/langs/lily/update.rhai new file mode 100644 index 0000000000..f7630bfb31 --- /dev/null +++ b/anda/langs/lily/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("fascinatedbox/lily"));