void-packages/srcpkgs/prs/template

24 lines
840 B
Bash

# Template file for 'prs'
pkgname=prs
version=0.5.0
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/"
changelog="https://gitlab.com/timvisee/prs/-/raw/master/CHANGELOG.md"
distfiles="https://gitlab.com/timvisee/prs/-/archive/v${version}/prs-v${version}.tar.gz"
checksum=fa65bf843b98f8deeb9c24f77123e12ba6cb5a18c098296effc2d57a19e6d95a
prs-gtk3_package() {
short_desc="GTK3 frontend for prs"
pkg_install() {
vbin target/${RUST_TARGET}/release/prs-gtk3-copy prs-gtk3
}
}