Skip to content

Commit

Permalink
fix: stardust-flatland (#2301)
Browse files Browse the repository at this point in the history
* fix: stardust-flatland

* fix export for STARDUST_RES_PREFIXES
  • Loading branch information
madonuko authored Oct 23, 2024
1 parent 0c16124 commit 8582499
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions anda/stardust/flatland/stardust-flatland.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Name: stardust-flatland
Version: %commit_date.%shortcommit
Release: 1%?dist
Release: 2%?dist
Summary: Flatland for Stardust XR.
URL: https://github.com/StardustXR/flatland
Source0: %url/archive/%commit/flatland-%commit.tar.gz
Expand All @@ -24,15 +24,19 @@ Packager: Owen Zimmerman <[email protected]>
%cargo_prep_online

%build
STARDUST_RES_PREFIXES=/usr/share

%install
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
STARDUST_RES_PREFIXES=%_datadir
export STARDUST_RES_PREFIXES=%_datadir
%cargo_install

mkdir -p %buildroot%_datadir
cp -r res/* %buildroot%_datadir/


%files
%_bindir/flatland
%_datadir/flatland/
%license LICENSE
%doc README.md

Expand Down

0 comments on commit 8582499

Please sign in to comment.