mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/sequoia-sq: add misc doc/completion files
This commit is contained in:
parent
8fb2d079fe
commit
8eb5d65b21
@ -1,7 +1,7 @@
|
||||
# Maintainer: psykose <alice@ayaya.dev>
|
||||
pkgname=sequoia-sq
|
||||
pkgver=0.30.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Command-line frontends for Sequoia"
|
||||
url="https://gitlab.com/sequoia-pgp/sequoia-sq"
|
||||
# rust-ring
|
||||
@ -15,6 +15,12 @@ makedepends="
|
||||
sqlite-dev
|
||||
"
|
||||
checkdepends="bash"
|
||||
subpackages="
|
||||
$pkgname-doc
|
||||
$pkgname-bash-completion
|
||||
$pkgname-fish-completion
|
||||
$pkgname-zsh-completion
|
||||
"
|
||||
source="https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v$pkgver/sequoia-sq-v$pkgver.tar.bz2"
|
||||
builddir="$srcdir/sequoia-sq-v$pkgver"
|
||||
options="net" # cargo deps
|
||||
@ -27,6 +33,7 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --frozen --release --no-default-features --features crypto-openssl
|
||||
}
|
||||
|
||||
@ -37,6 +44,14 @@ check() {
|
||||
package() {
|
||||
install -Dm755 target/release/sq \
|
||||
-t "$pkgdir"/usr/bin/
|
||||
install -Dm644 target/_sq \
|
||||
"$pkgdir"/usr/share/zsh/site-functions/_sq
|
||||
install -Dm644 target/sq.bash \
|
||||
"$pkgdir"/usr/share/bash-completion/completions/sq
|
||||
install -Dm644 target/sq.fish \
|
||||
"$pkgdir"/usr/share/fish/completions/sq.fish
|
||||
install -Dm644 target/release/build/sequoia-sq-*/out/*.1 \
|
||||
-t "$pkgdir"/usr/share/man/man1/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
Loading…
Reference in New Issue
Block a user