# Template file for 'datamash'
pkgname=datamash
version=1.8
revision=1
build_style=gnu-configure
hostmakedepends="texinfo"
checkdepends="which"
short_desc="Command-line program that performs simple calculations on input files"
maintainer="oliver <void@bertmacho.com>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/datamash/"
distfiles="${GNU_SITE}/datamash/datamash-${version}.tar.gz"
checksum=7ad97e8c7ef616dd03aa5bd67ae24c488272db3e7d1f5774161c18b75f29f6fd

post_extract() {
	if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
		vsed -e '/datamash-i18n-de\.pl/d' -i Makefile.in
	fi
}
