-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
35 lines (30 loc) · 1.39 KB
/
template
File metadata and controls
35 lines (30 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Template file for 'rage'
pkgname=rage
version=0.11.1
revision=3
build_style=cargo
make_install_args="--path rage"
configure_args="--features mount"
hostmakedepends="pkg-config"
makedepends="bzip2-devel fuse3-devel libzstd-devel"
short_desc="Simple, modern and secure encryption tool, written in Rust"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT OR Apache-2.0"
homepage="https://github.com/str4d/rage"
distfiles="https://github.com/str4d/rage/archive/refs/tags/v${version}.tar.gz"
checksum=b00559285c9fa5779b2908726d7a952cbf7cb629008e4c4c23a5c137c98f3f09
conflicts="rage-player" # /usr/bin/rage
post_install() {
for shell in bash fish; do
vcompletion "target/${RUST_TARGET}/release/completions/rage.${shell}" "${shell}" rage
vcompletion "target/${RUST_TARGET}/release/completions/rage-keygen.${shell}" "${shell}" rage-keygen
vcompletion "target/${RUST_TARGET}/release/completions/rage-mount.${shell}" "${shell}" rage-mount
done
vcompletion "target/${RUST_TARGET}/release/completions/_rage" zsh rage
vcompletion "target/${RUST_TARGET}/release/completions/_rage-keygen" zsh rage-keygen
vcompletion "target/${RUST_TARGET}/release/completions/_rage-mount" zsh rage-mount
vman "target/${RUST_TARGET}/release/manpages/man1/rage.1.gz"
vman "target/${RUST_TARGET}/release/manpages/man1/rage-keygen.1.gz"
vman "target/${RUST_TARGET}/release/manpages/man1/rage-mount.1.gz"
vlicense LICENSE-MIT
}