chore(aur): update all plugin PKGBUILDs for v1.0.0 with per-crate tags
This commit is contained in:
@@ -1,41 +1,41 @@
|
||||
# Maintainer: vikingowl <christian@nachtigall.dev>
|
||||
pkgname=owlry-plugin-ssh
|
||||
pkgver=0.4.10
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="SSH host launcher plugin for Owlry"
|
||||
arch=('x86_64')
|
||||
url="https://somegit.dev/Owlibou/owlry"
|
||||
url="https://somegit.dev/Owlibou/owlry-plugins"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('owlry' 'openssh')
|
||||
depends=('owlry-core' 'openssh')
|
||||
makedepends=('cargo')
|
||||
install=owlry-plugin-ssh.install
|
||||
source=("owlry-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
b2sums=('2d3761ee892d7f283a65fa58ca6206735b1b3b6e7f764f839e8a2cbd2fee2ce446c4b992e664790439393e6cb2f21fb21abacdeaf8de9eca4514da86c608216d')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://somegit.dev/Owlibou/owlry-plugins/archive/$pkgname-v$pkgver.tar.gz")
|
||||
b2sums=('SKIP')
|
||||
|
||||
_cratename=owlry-plugin-ssh
|
||||
|
||||
prepare() {
|
||||
cd "owlry"
|
||||
cd "owlry-plugins"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "owlry"
|
||||
cd "owlry-plugins"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build -p $_cratename --frozen --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "owlry"
|
||||
cd "owlry-plugins"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo test -p $_cratename --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "owlry"
|
||||
cd "owlry-plugins"
|
||||
install -Dm755 "target/release/lib${_cratename//-/_}.so" \
|
||||
"$pkgdir/usr/lib/owlry/plugins/lib${_cratename//-/_}.so"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user