31 lines
842 B
Bash
31 lines
842 B
Bash
# Template file for 'xh'
|
|
pkgname=xh
|
|
version=0.16.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 <arthur.contrib@gmail.com>"
|
|
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
|
|
|
|
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
|
|
}
|