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