SHA256
1
0
forked from pool/xplr
Soc Virnyl Estela 2023-06-02 09:21:41 +00:00 committed by Git OBS Bridge
parent 4f681f3a00
commit a9cb06a315

View File

@ -47,10 +47,12 @@ cp %{SOURCE2} .cargo/config
sed -i 's/-- version = "0.0.0"/version = "%{version}"/' src/init.lua sed -i 's/-- version = "0.0.0"/version = "%{version}"/' src/init.lua
%build %build
%{cargo_build} # Temporary fix for now
cargo build --release --frozen --all-features
%install %install
%{cargo_install} install -Dm0755 -T %{_builddir}/%{name}-%{version}/target/release/%{name} \
%{buildroot}%{_bindir}/%{name}
install -Dm644 -T \ install -Dm644 -T \
%{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \ %{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \