From 1d115ae5239bbebb3ed61646ea766d324b2e61d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Wed, 21 Sep 2022 13:00:59 +0200 Subject: [PATCH] New package: cargo-update-9.0.0 --- srcpkgs/cargo-update/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/cargo-update/template diff --git a/srcpkgs/cargo-update/template b/srcpkgs/cargo-update/template new file mode 100644 index 000000000000..c768f7b1d6e7 --- /dev/null +++ b/srcpkgs/cargo-update/template @@ -0,0 +1,24 @@ +# Template file for 'cargo-update' +pkgname=cargo-update +version=9.0.0 +revision=1 +build_style=cargo +hostmakedepends="cmake pkg-config go-md2man" +makedepends="libgit2-devel libssh2-devel openssl-devel" +short_desc="Cargo subcommand for updates to installed executables" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/nabijaczleweli/cargo-update" +distfiles="https://github.com/nabijaczleweli/cargo-update/archive/refs/tags/v${version}.tar.gz" +checksum=91667cfa404b6e2c9d0eafdf801f0740b863cc1b0e269e681369a6b6093dec3c + +post_install() { + vlicense LICENSE + vdoc README.md + + cd man + for page in *.md; do + go-md2man -in ${page} -out ${page%.md}.1 + vman ${page%.md}.1 + done +}