New package: xq-1.2.4

This commit is contained in:
Emil Miler 2024-05-09 14:25:57 +02:00 committed by classabbyamp
parent 8c9524f5e1
commit e40eaa2c31
1 changed files with 22 additions and 0 deletions

22
srcpkgs/xq/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'xq'
pkgname=xq
version=1.2.4
revision=1
build_style=go
go_import_path=github.com/sibprogrammer/xq
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=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
do_check() {
go test -covermode=atomic -v ./...
}
post_install() {
mv "$DESTDIR/usr/bin/"{xq,xq-go}
vman docs/xq.man xq-go.1
vlicense LICENSE
}