vp-build/srcpkgs/prs/template

23 lines
762 B
Bash

# Template file for 'prs'
pkgname=prs
version=0.3.5
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=5f5e0d18a301bc7bc36bba9f5a810b97ddf0260b16e02eee550ba8b044612b6f
prs-gtk3_package() {
short_desc="GTK3 frontend for prs"
pkg_install() {
vbin target/${RUST_TARGET}/release/prs-gtk3-copy prs-gtk3
}
}