Skip to content

Commit

Permalink
pay-respects: install new ELF
Browse files Browse the repository at this point in the history
  • Loading branch information
Integral-Tech committed Dec 13, 2024
1 parent 0ffc01b commit beab349
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion archlinuxcn/pay-respects/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ prepare() {

build() {
cd "${pkgname}/"
export _DEF_PR_LIB="/usr/lib/${pkgname}/"
cargo build --frozen --release --all-features
}

package() {
cd "${pkgname}/"
install -Dm755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin/"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"

cd target/release
install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin/"
install -Dm755 _${pkgname}-{module-100-runtime-rules,fallback-100-request-ai} -t "${pkgdir}/usr/lib/${pkgname}/"
}

0 comments on commit beab349

Please sign in to comment.