void-packages/srcpkgs/diction/template
2021-04-11 00:02:24 -03:00

20 lines
723 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'diction'
pkgname=diction
version=1.11
revision=2
build_style=gnu-configure
short_desc="Writing style checkers, diction and style"
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/diction/diction.html"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=35c2f1bf8ddf0d5fa9f737ffc8e55230736e5d850ff40b57fdf5ef1d7aa024f6
if [ -n "$CROSS_BUILD" ]; then
pre_configure() {
# cannot check for broken realloc when cross compiling
# but we know from native build that its not broken
# so remove the check (default is not broken)
sed -i -e "/checking for broken realloc/,/USE_NLS=no/ {/USE_NLS=no/!d}" configure
}
fi