23 lines
679 B
Bash
23 lines
679 B
Bash
# Template file for 'nudoku'
|
|
pkgname=nudoku
|
|
version=2.0.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=44d3ec1ff34a010910ac7a92f6d84e8a7a4678a966999b7be27d224609ae54e1
|
|
|
|
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
|
|
}
|