From 70cbae9d31f349404ea868e2ae54038f1be38629 Mon Sep 17 00:00:00 2001 From: juantascon Date: Wed, 3 Feb 2021 10:25:04 -0500 Subject: [PATCH] New package: hurl-1.0.0 --- srcpkgs/hurl/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/hurl/template diff --git a/srcpkgs/hurl/template b/srcpkgs/hurl/template new file mode 100644 index 00000000000..81e653daeff --- /dev/null +++ b/srcpkgs/hurl/template @@ -0,0 +1,26 @@ +# Template file for 'hurl' +pkgname=hurl +version=1.0.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libxml2-devel libressl-devel" +short_desc="Hurl, run and test HTTP requests. " +maintainer="Juan Tascon " +license="Apache-2.0" +homepage="https://github.com/Orange-OpenSource/hurl" +changelog="https://github.com/Orange-OpenSource/hurl/raw/master/CHANGELOG.md" +distfiles="https://github.com/Orange-OpenSource/hurl/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=3c1bbd3650a91d8434f9a57b0123246c3260e955a966feb2c63dedba94463ac1 + +do_build() { + ./ci/man.sh +} + +do_install() { + vbin "target/${RUST_TARGET}/release/hurl" + vbin "target/${RUST_TARGET}/release/hurlfmt" + vman target/man/hurl.1.gz + vman target/man/hurlfmt.1.gz + vdoc README.md +}