new file: projects/agwa.name/git-crypt/package.yml

This commit is contained in:
Andrii Riabchenko 2024-03-12 20:09:20 +02:00 committed by Jacob Heider
parent 9b4bee964d
commit 0c3d7f3277

View file

@ -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}}