# Template file for 'xh' pkgname=xh version=0.14.1 revision=1 # depends on ring archs="x86_64* i686* armv[67]* aarch64*" build_style=cargo hostmakedepends="pkg-config" makedepends="openssl-devel" short_desc="Friendly and fast tool for sending HTTP requests" 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=ca89e8a9a230ff16cc0bba5bd7ebdceb986eac84638e15b4928d737b9ec12776 post_install() { ln -sf ${pkgname} ${DESTDIR}/usr/bin/${pkgname}s vcompletion completions/xh.bash bash vcompletion completions/_xh zsh vcompletion completions/xh.fish fish vlicense LICENSE vdoc README.md for m in doc/*.1; do vman "$m" done }