mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-04-06 17:30:54 +01:00
Compare commits
21 commits
v0.8.9+968
...
main
Author | SHA1 | Date | |
---|---|---|---|
a96848c560 | |||
03618acc2d | |||
04cc042671 | |||
aad9e45c76 | |||
94a5fcf8ef | |||
94f5b37a43 | |||
1352efc33e | |||
ec89aaad51 | |||
7d3b7d9b7d | |||
326f40bfb5 | |||
9ea4daacbf | |||
7ce92e1100 | |||
cb5152f12a | |||
a77f37146d | |||
db9c38535c | |||
a26a8bd28d | |||
cf5e48a63e | |||
69f2b364d4 | |||
4b226883ba | |||
b5eabbcf04 | |||
76cf47666d |
4 changed files with 68 additions and 2 deletions
|
@ -10,6 +10,7 @@ For more information on lune, see [lune-org/lune](https://github.com/lune-org/lu
|
|||
| Scoop |  |
|
||||
| AppImage |  |
|
||||
| APT |  |
|
||||
| COPR | [Project](https://copr.fedorainfracloud.org/coprs/devcomp/lune/) |
|
||||
|
||||
|
||||
## Installation
|
||||
|
|
2
lune-src
2
lune-src
|
@ -1 +1 @@
|
|||
Subproject commit 010cd36375b467c85292ec87c922ee5806d79581
|
||||
Subproject commit 5d1401cdf611cc9f215f03bdf16ada0e77717edf
|
|
@ -1 +1 @@
|
|||
010cd36
|
||||
5d1401c
|
||||
|
|
65
package/copr/lune.spec
Normal file
65
package/copr/lune.spec
Normal file
|
@ -0,0 +1,65 @@
|
|||
Name: lune
|
||||
Version: 0.8.9
|
||||
Release: 1%{?dist}
|
||||
Summary: A standalone Luau runtime
|
||||
|
||||
|
||||
License: MPL2
|
||||
URL: https://github.com/lune-org/lune
|
||||
Source0: https://github.com/lune-org/lune/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: rust
|
||||
BuildRequires: cargo
|
||||
BuildRequires: just
|
||||
BuildRequires: clang
|
||||
BuildRequires: perl
|
||||
%ifarch aarch64
|
||||
BuildRequires: binutils-aarch64-linux-gnu
|
||||
BuildRequires: gcc-c++-aarch64-linux-gnu
|
||||
BuildRequires: gcc-aarch64-linux-gnu
|
||||
BuildRequires: musl-devel
|
||||
%endif
|
||||
|
||||
|
||||
Requires: libstdc++
|
||||
Requires: libgcc
|
||||
Requires: openlibm
|
||||
Requires: glibc
|
||||
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n lune-%{version}
|
||||
# Removes the first line containing clippy lint attribute which is falsely flagged as a shebang in build
|
||||
find . -type f -name "*.rs" -exec perl -i -ne 'print unless /^\#!\[/ ' {} +
|
||||
cat <<EOF > .cargo/config.toml
|
||||
[target.aarch64-unknown-linux-gnu]
|
||||
linker = "aarch64-linux-gnu-gcc"
|
||||
rustflags = ["-L", "/usr/lib/gcc/aarch64-linux-gnu/14"]
|
||||
EOF
|
||||
|
||||
%build
|
||||
just build --locked --release
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_bindir}
|
||||
install -m0755 ./target/release/%{name} %{buildroot}/%{_bindir}/%{name}
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
Loading…
Add table
Reference in a new issue