Skip to content

Commit

Permalink
Fix Cargo target dir in Gentoo ebuild
Browse files Browse the repository at this point in the history
gentoo/guru@04722c6

Co-authored-by: Viorel Munteanu <ceamac@gentoo.org>
  • Loading branch information
filips123 and ceamac committed Sep 16, 2024
1 parent 461afb4 commit 0896daf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions native/packages/gentoo/firefoxpwa.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ src_configure() {

src_install() {
# Executables
dobin target/*/firefoxpwa
dobin $(cargo_target_dir)/firefoxpwa
exeinto /usr/libexec
doexe target/*/firefoxpwa-connector
doexe $(cargo_target_dir)/firefoxpwa-connector

# Manifest
local target_dirs=( /usr/lib{,64}/mozilla/native-messaging-hosts )
Expand All @@ -113,9 +113,9 @@ src_install() {
done

# Completions
newbashcomp target/*/completions/firefoxpwa.bash firefoxpwa
dofishcomp target/*/completions/firefoxpwa.fish
dozshcomp target/*/completions/_firefoxpwa
newbashcomp $(cargo_target_dir)/completions/firefoxpwa.bash firefoxpwa
dofishcomp $(cargo_target_dir)/completions/firefoxpwa.fish
dozshcomp $(cargo_target_dir)/completions/_firefoxpwa

# UserChrome
insinto /usr/share/firefoxpwa
Expand Down

0 comments on commit 0896daf

Please sign in to comment.