mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* add: lily
* not arch dependant
* use pkg_devel_files macro
* cursed but it works lol
---------
(cherry picked from commit ce7936fece)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "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 <owen@fyralabs.com>
|
||||
|
||||
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 <owen@fyralabs.com>
|
||||
- Initial package
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("fascinatedbox/lily"));
|
||||
Reference in New Issue
Block a user