# Template file for 'moon-buggy'
pkgname=moon-buggy
version=1.1.0
revision=1
build_style=gnu-configure
configure_args="--sharedstatedir=/var/db"
make_dirs="/var/db/moon-buggy 777 root root"
makedepends="ncurses-devel"
short_desc="Simple character graphics game"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://www.seehuhn.de/programs/moon-buggy/"
distfiles="https://www.seehuhn.de/programs/moon-buggy/moon-buggy-${version}.tar.gz"
checksum=259ae6e7b1838c40532af5c0f20cd7c6173cd5c552ede408114064475bcfc5b6

post_extract() {
	# don't clash with ncursesw exported symbol
	vsed -e 's/key_name/Key_Name/g' -i keyboard.c
}
