20 lines
582 B
Bash
20 lines
582 B
Bash
# Template file for 'xq'
|
|
pkgname=xq
|
|
version=1.2.5
|
|
revision=1
|
|
build_style=go
|
|
go_import_path=github.com/sibprogrammer/xq
|
|
make_check_args="-covermode=atomic"
|
|
short_desc="Command-line XML and HTML beautifier and content extractor"
|
|
maintainer="Emil Miler <em@0x45.cz>"
|
|
license="MIT"
|
|
homepage="https://github.com/sibprogrammer/xq"
|
|
distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=9432a992d2f0ab82a7350da6317e27f835713c340177518dd08581bd0e918365
|
|
|
|
post_install() {
|
|
mv "$DESTDIR/usr/bin/"{xq,xq-go}
|
|
vman docs/xq.man xq-go.1
|
|
vlicense LICENSE
|
|
}
|