From cd6abb6a238bc804a2776b30f60900b7a67c1ec1 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Wed, 9 Nov 2022 04:23:51 +0100 Subject: [PATCH] xh: update to 0.17.0 --- srcpkgs/xh/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/xh/template b/srcpkgs/xh/template index 546a9040b38a..2b3645339dbf 100644 --- a/srcpkgs/xh/template +++ b/srcpkgs/xh/template @@ -1,10 +1,9 @@ # Template file for 'xh' pkgname=xh -version=0.16.1 +version=0.17.0 revision=1 -# depends on ring -archs="x86_64* i686* armv[67]* aarch64*" build_style=cargo +configure_args="--no-default-features --features online-tests,native-tls" hostmakedepends="pkg-config" makedepends="openssl-devel" short_desc="Friendly and fast tool for sending HTTP requests" @@ -12,18 +11,18 @@ maintainer="Arthur Weagel " license="MIT" homepage="https://github.com/ducaale/xh" changelog="https://raw.githubusercontent.com/ducaale/xh/master/CHANGELOG.md" -distfiles="https://github.com/ducaale/xh/archive/v${version}.tar.gz" -checksum=c1fd4f33be96ba1c19580fc66dd9d059a716f00f532a516e159ce9342e50cd43 +distfiles="https://github.com/ducaale/xh/archive/refs/tags/v${version}.tar.gz" +checksum=31a944b1932fb785a191932944ff662a33ad99724cb5bc260acdaf821fb2e088 post_install() { - ln -sf ${pkgname} ${DESTDIR}/usr/bin/${pkgname}s + ln -sf xh "${DESTDIR}/usr/bin/xhs" vcompletion completions/xh.bash bash vcompletion completions/_xh zsh vcompletion completions/xh.fish fish - - vlicense LICENSE vdoc README.md + vlicense LICENSE + for m in doc/*.1; do vman "$m" done