Skip to content
Snippets Groups Projects
Commit d59f49eb authored by Michał Polański's avatar Michał Polański
Browse files

testing/himalaya: new aport

parent 049687de
No related branches found
No related tags found
1 merge request!26845testing/himalaya: new aport
Pipeline #97850 canceled
This commit is part of merge request !26845. Comments created here will be created in the context of that merge request.
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=himalaya
pkgver=0.5.1
pkgrel=0
pkgdesc="CLI email client"
url="https://github.com/soywod/himalaya"
license="BSD-3-Clause"
arch="all !s390x !mips64 !riscv64" # blocked by rust/cargo
makedepends="cargo openssl-dev"
subpackages="$pkgname-bash-completion $pkgname-fish-completion $pkgname-zsh-completion"
source="https://github.com/soywod/himalaya/archive/v$pkgver/himalaya-$pkgver.tar.gz"
build() {
cargo build --release --locked
./target/release/himalaya completion bash > $pkgname.bash
./target/release/himalaya completion fish > $pkgname.fish
./target/release/himalaya completion zsh > $pkgname.zsh
}
check() {
cargo test --release --locked
}
package() {
install -Dm755 target/release/himalaya "$pkgdir"/usr/bin/himalaya
install -Dm644 $pkgname.bash "$pkgdir"/usr/share/bash-completion/completions/$pkgname
install -Dm644 $pkgname.fish "$pkgdir"/usr/share/fish/completions/$pkgname.fish
install -Dm644 $pkgname.zsh "$pkgdir"/usr/share/zsh/site-functions/_$pkgname
}
sha512sums="
8e45dff561d11ce7c3df9882d00345862dfca8ece112eb2134f59d9b3a550b3d06faa16697f451704d4f4fc56cb48783910de7fefb9f3a6e8d95fa9b6eb5cecc himalaya-0.5.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment