diff options
author | Orhun Parmaksız | 2022-10-02 13:22:31 +0200 |
---|---|---|
committer | Orhun Parmaksız | 2022-10-02 13:22:31 +0200 |
commit | 2908447020b9b7ce7825ac1e57190688456e1bc5 (patch) | |
tree | 77bc6d4b00101efb970a661609f4d65052c6a7a3 | |
parent | 27a3cb239f0040c49e73757adbd68ec709e4049b (diff) | |
download | aur-2908447020b9b7ce7825ac1e57190688456e1bc5.tar.gz |
upgpkg: kmon-git 1.6.2.r0.g2367b58-1
upstream release
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = kmon-git pkgdesc = Linux kernel manager and activity monitor (git) - pkgver = 1.6.0.r0.g61ed1a4 + pkgver = 1.6.2.r0.g2367b58 pkgrel = 1 url = https://github.com/orhun/kmon arch = x86_64 @@ -2,7 +2,7 @@ # https://github.com/orhun/pkgbuilds pkgname=kmon-git -pkgver=1.6.0.r0.g61ed1a4 +pkgver=1.6.2.r0.g2367b58 pkgrel=1 pkgdesc="Linux kernel manager and activity monitor (git)" arch=('x86_64') @@ -22,7 +22,7 @@ pkgver() { prepare() { cd "${pkgname%-git}" - cargo fetch --locked + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" } build() { @@ -39,5 +39,8 @@ package() { cd "${pkgname%-git}" install -Dm 755 "target/release/${pkgname%-git}" -t "${pkgdir}/usr/bin" install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" - install -Dm 644 "man/${pkgname%-git}.8" -t "$pkgdir/usr/share/man/man8" + install -Dm 644 "target/man/${pkgname%-git}.8" -t "$pkgdir/usr/share/man/man8" + install -Dm 644 "target/completions/${pkgname%-git}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname%-git}" + install -Dm 644 "target/completions/${pkgname%-git}.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d" + install -Dm 644 "target/completions/_${pkgname%-git}" -t "${pkgdir}/usr/share/zsh/site-functions" } |