28 lines
782 B
Bash
28 lines
782 B
Bash
# Template file for 'xh'
|
|
pkgname=xh
|
|
version=0.13.0
|
|
revision=1
|
|
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://github.com/ducaale/xh/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/ducaale/xh/archive/v${version}.tar.gz"
|
|
checksum=d3e46b6db5a131237d5f980ccaae6f04c5ba7b06922d97c7f98f36f03cf581fe
|
|
|
|
post_install() {
|
|
ln -sf /usr/bin/${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
|
|
}
|