From 0c3d7f32776c394aa1f61b61cd95c66e144caf88 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Tue, 12 Mar 2024 20:09:20 +0200 Subject: [PATCH] new file: projects/agwa.name/git-crypt/package.yml --- projects/agwa.name/git-crypt/package.yml | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 projects/agwa.name/git-crypt/package.yml diff --git a/projects/agwa.name/git-crypt/package.yml b/projects/agwa.name/git-crypt/package.yml new file mode 100644 index 00000000..6828eb5c --- /dev/null +++ b/projects/agwa.name/git-crypt/package.yml @@ -0,0 +1,33 @@ +distributable: + url: https://www.agwa.name/projects/git-crypt/downloads/git-crypt-{{version}}.tar.gz + strip-components: 1 + +versions: + url: https://www.agwa.name/projects/git-crypt/ + match: /git-crypt-\d+\.\d+\.\d+\.tar\.gz/ + strip: + - /^git-crypt-/ + - /\.tar\.gz$/ + +dependencies: + openssl.org: '>=1.1.1' + +build: + dependencies: + docbook.org: '*' + docbook.org/xsl: '*' + gnome.org/libxslt: '*' + script: + - sed -i "s|http://docbook.sourceforge.net/release/xsl/current|{{deps.docbook.org/xsl.prefix}}/libexec/docbook-xsl|g" Makefile + - make ENABLE_MAN=yes PREFIX={{prefix}} install + env: + XML_CATALOG_FILES: ${{prefix}}/etc/xml/catalog + CFLAGS: $CFLAGS -DOPENSSL_API_COMPAT=0x30000000L + +provides: + - bin/git-crypt + +test: + - git-crypt keygen keyfile + - ls | grep keyfile + - git-crypt version | grep {{version}}