void-packages/srcpkgs/prs/template

24 lines
818 B
Bash

# Template file for 'prs'
pkgname=prs
version=0.5.1
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="Orphaned <orphan@voidlinux.org>"
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=a7dd6130cf26441757cfbd6839256b2967a7ecf1161ef238b7122f680aac8164
prs-gtk3_package() {
short_desc="GTK3 frontend for prs"
pkg_install() {
vbin target/${RUST_TARGET}/release/prs-gtk3-copy prs-gtk3
}
}