From 9d6ac7c6674f86a27a65db6a9b280dd0c8961c36 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 17 Jun 2021 16:53:13 +0300 Subject: [PATCH] New package: xh-0.12.0 --- srcpkgs/xh/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/xh/template diff --git a/srcpkgs/xh/template b/srcpkgs/xh/template new file mode 100644 index 00000000000000..aec5f9bec92f0e --- /dev/null +++ b/srcpkgs/xh/template @@ -0,0 +1,22 @@ +# Template file for 'xh' +pkgname=xh +version=0.12.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="openssl-devel" +short_desc="Friendly and fast tool for sending HTTP requests" +maintainer="FollieHiyuki " +license="MIT" +homepage="https://github.com/ducaale/xh" +distfiles="https://github.com/ducaale/xh/archive/refs/tags/v${version}.tar.gz" +checksum=6ea21c669e891fa6bcc8c8bdcf9f13db32c44bc1cdafd052d1ec34610db9a004 + +post_install() { + ln -sf /usr/bin/${pkgname} ${DESTDIR}/usr/bin/${pkgname}s + vman doc/xh.1 + vcompletion completions/xh.bash bash + vcompletion completions/_xh zsh + vcompletion completions/xh.fish fish + vlicense LICENSE +}