void-packages/srcpkgs/nudoku/template
2020-11-23 02:37:11 -03:00

23 lines
679 B
Bash

# Template file for 'nudoku'
pkgname=nudoku
version=2.1.0
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config tar xz gettext gettext-devel"
makedepends="ncurses-devel"
short_desc="Ncurses based sudoku game"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/jubalh/nudoku"
distfiles="https://github.com/jubalh/${pkgname}/archive/${version}.tar.gz"
checksum=eeff7f3adea5bfe7b88bf7683d68e9a597aabd1442d1621f21760c746400b924
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" --disable-nls"
fi
pre_configure() {
# void uses gettext 0.20
sed -i 's/0.19/0.20/' configure.ac
autoreconf -i
}