void-packages/srcpkgs/xh/template

31 lines
842 B
Bash
Raw Normal View History

2021-10-21 06:44:38 +00:00
# Template file for 'xh'
pkgname=xh
2021-12-15 16:08:03 +00:00
version=0.14.1
2021-10-21 06:44:38 +00:00
revision=1
# depends on ring
archs="x86_64* i686* armv[67]* aarch64*"
2021-10-21 06:44:38 +00:00
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Friendly and fast tool for sending HTTP requests"
maintainer="Arthur Weagel <arthur.contrib@gmail.com>"
license="MIT"
homepage="https://github.com/ducaale/xh"
2021-12-15 16:08:03 +00:00
changelog="https://raw.githubusercontent.com/ducaale/xh/master/CHANGELOG.md"
2021-10-21 06:44:38 +00:00
distfiles="https://github.com/ducaale/xh/archive/v${version}.tar.gz"
2021-12-15 16:08:03 +00:00
checksum=ca89e8a9a230ff16cc0bba5bd7ebdceb986eac84638e15b4928d737b9ec12776
2021-10-21 06:44:38 +00:00
post_install() {
2021-12-15 16:08:03 +00:00
ln -sf ${pkgname} ${DESTDIR}/usr/bin/${pkgname}s
2021-10-21 06:44:38 +00:00
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
}