From da0a987a26a33e899bc119f8a74703d2a333f4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sat, 26 Mar 2022 17:37:06 +0100 Subject: [PATCH] New package: prs-0.3.2 --- srcpkgs/prs-gtk3 | 1 + srcpkgs/prs/template | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 120000 srcpkgs/prs-gtk3 create mode 100644 srcpkgs/prs/template diff --git a/srcpkgs/prs-gtk3 b/srcpkgs/prs-gtk3 new file mode 120000 index 000000000000..c38bf7a251b6 --- /dev/null +++ b/srcpkgs/prs-gtk3 @@ -0,0 +1 @@ +prs \ No newline at end of file diff --git a/srcpkgs/prs/template b/srcpkgs/prs/template new file mode 100644 index 000000000000..12293ff7bdf9 --- /dev/null +++ b/srcpkgs/prs/template @@ -0,0 +1,26 @@ +# Template file for 'prs' +pkgname=prs +version=0.3.2 +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 " +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=e8483e0bf696ac90266121b7c2ef5cb51b39cfa59955e4289bbcb8bbb45034f0 + +prs-gtk3_package() { + short_desc="GTK3 frontend for prs" + pkg_install() { + vbin target/${RUST_TARGET}/release/prs-gtk3-copy prs-gtk3 + } +} + +post_patch() { + cargo update -p autocfg:1.0.1 --precise 1.1.0 +}