void-packages/srcpkgs/prs/template

23 lines
762 B
Bash

# Template file for 'prs'
pkgname=prs
version=0.3.4
revision=1
build_style=cargo
make_install_args="--path ./cli"
hostmakedepends="pkg-config gnupg git python3"
makedepends="glib-devel cairo-devel pango-devel atk-devel gdk-pixbuf-devel gtk+3-devel"
depends="gnupg git"
short_desc="Pass compatible password manager written in Rust"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-only"
homepage="https://timvisee.com/projects/prs/"
distfiles="https://github.com/timvisee/prs/archive/refs/tags/v${version}.tar.gz"
checksum=a0fb15751263a60c398169aeeb6b92799652f1079875b0ae2e832764070cbddc
prs-gtk3_package() {
short_desc="GTK3 frontend for prs"
pkg_install() {
vbin target/${RUST_TARGET}/release/prs-gtk3-copy prs-gtk3
}
}