# Template file for 'ugrep'
pkgname=ugrep
version=7.2.2
revision=1
build_style=gnu-configure
makedepends="bzip2-devel liblz4-devel liblzma-devel libzstd-devel pcre2-devel
 zlib-devel"
short_desc="Ultra fast grep with interactive query UI"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://github.com/Genivia/ugrep"
distfiles="https://github.com/Genivia/ugrep/archive/v${version}.tar.gz"
checksum=09aad04eb20f34ca6a9cc5626f04286b9ad722407b88581c5dabf2599a0bba93

case "$XBPS_TARGET_MACHINE" in
	armv*) configure_args+=" --disable-neon";;
esac

post_install() {
	vlicense LICENSE.txt LICENSE
}
