From 5c586a3ca97b1d093104e11408e691652b05a4f5 Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 8 Sep 2022 10:33:00 +0530 Subject: [PATCH] New package: hurl-3.0.0 --- srcpkgs/hurl/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/hurl/template diff --git a/srcpkgs/hurl/template b/srcpkgs/hurl/template new file mode 100644 index 000000000000..77634e4f2065 --- /dev/null +++ b/srcpkgs/hurl/template @@ -0,0 +1,27 @@ +# Template file for 'hurl' +pkgname=hurl +version=3.0.0 +revision=1 +build_style=cargo +make_check_args="-- --skip=runner::hurl_file::run --skip=http::tests::libcurl" +hostmakedepends="pkg-config" +makedepends="openssl-devel libcurl-devel libxml2-devel" +short_desc="CLI to run HTTP requests defined in a simple plain text format" +maintainer="icp " +license="Apache-2.0" +homepage="https://hurl.dev" +changelog="https://raw.githubusercontent.com/Orange-OpenSource/hurl/master/CHANGELOG.md" +distfiles="https://github.com/Orange-OpenSource/hurl/archive/refs/tags/${version}.tar.gz" +checksum=7ad9a1043129edb4850727c085a83010b916b3515c2af5afddd0809c1e2bd85c + +if [[ "$XBPS_WORDSIZE" -eq 32 ]]; then + make_check=no # https://github.com/Orange-OpenSource/hurl/issues/1220 +fi + +do_install() { + vbin target/${RUST_TARGET}/release/hurl + vbin target/${RUST_TARGET}/release/hurlfmt + + vman docs/manual/hurl.1 + vman docs/manual/hurlfmt.1 +}