# Description: Top-down maze game.
# URL: https://gottcode.org/cutemaze
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: qt6-base qt6-svg qt6-tools

name=cutemaze
version=1.3.2
release=1
source=(https://gottcode.org/$name/$name-$version.tar.bz2)

build() {
	cmake -S $name-$version -B build -G Ninja \
	  -D CMAKE_INSTALL_PREFIX=/usr \
	  -D CMAKE_INSTALL_LIBDIR=lib \
	  -D CMAKE_BUILD_TYPE=Release \
	  -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
	  -Wno-dev

	cmake --build build
	DESTDIR=$PKG cmake --install build
}
