File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,18 @@ sha256sums=(
1515)
1616
1717build (){
18- env CARGO_TARGET_DIR=" $srcdir /target" CARGO_INCREMENTAL=0 cargo build --release --locked
18+ cd " src"
19+ env CARGO_TARGET_DIR=" target" CARGO_INCREMENTAL=0 cargo build --release --locked
1920}
2021
2122package () {
22- install -D -m755 " target/release/surface" " $pkgdir /usr/bin/surface"
23+ install -D -m755 " src/ target/release/surface" " $pkgdir /usr/bin/surface"
2324
2425 # completion files
25- install -D -m644 " target/surface.bash" " $pkgdir /usr/share/bash-completion/completions/surface"
26- install -D -m644 " target/_surface" " $pkgdir /usr/share/zsh/site-functions/_surface"
27- install -D -m644 " target/surface.fish" " $pkgdir /usr/share/fish/completions/surface.fish"
26+ install -D -m644 " src/ target/surface.bash" " $pkgdir /usr/share/bash-completion/completions/surface"
27+ install -D -m644 " src/ target/_surface" " $pkgdir /usr/share/zsh/site-functions/_surface"
28+ install -D -m644 " src/ target/surface.fish" " $pkgdir /usr/share/fish/completions/surface.fish"
2829
2930 # license
30- install -Dm644 " src/LICENSE" " ${pkgdir} /usr/share/licenses/surface-dtx-daemon /LICENSE"
31+ install -Dm644 " src/LICENSE" " ${pkgdir} /usr/share/licenses/surface-control /LICENSE"
3132}
You can’t perform that action at this time.
0 commit comments