From 4b20c2f1d4cf90c5ada3514d3455c6e335349c99 Mon Sep 17 00:00:00 2001 From: ketlrznt Date: Thu, 11 Aug 2022 18:04:10 +0800 Subject: [PATCH] New package: cshatag-2.0 --- srcpkgs/cshatag/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/cshatag/template diff --git a/srcpkgs/cshatag/template b/srcpkgs/cshatag/template new file mode 100644 index 000000000000..0640a332d404 --- /dev/null +++ b/srcpkgs/cshatag/template @@ -0,0 +1,23 @@ +# Template file for 'cshatag' +pkgname=cshatag +version=2.0 +revision=1 +build_style=go +go_import_path="github.com/rfjakob/cshatag" +go_ldflags="-X main.GitVersion=${GITVERSION}" +depends="attr attr-devel attr-progs" +short_desc="Detect silent data corruption using checksums in extended attributes" +maintainer="ketlrznt " +license="MIT" +homepage="https://github.com/rfjakob/cshatag" +changelog="https://raw.githubusercontent.com/rfjakob/cshatag/master/CHANGELOG.md" +distfiles="https://github.com/rfjakob/cshatag/archive/refs/tags/v${version}.tar.gz" +checksum=ec06106f5bff76f4d7847151b19a1fbfd6934b3a2a292ae8f7f24b0f25907195 + +GITVERSION := $(shell git describe --dirty) + +post_install() { + vman cshatag.1 + vdoc README.md + vlicense LICENSE +}