24 lines
679 B
Bash
24 lines
679 B
Bash
# Template file for 'nudoku'
|
|
pkgname=nudoku
|
|
version=5.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=ba60a99c9832b5c950a00a0a9d1e0938fddf2cef32765bca18041e770afc3c4a
|
|
|
|
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
|
|
}
|