2014-09-28 17:42:59 +10:00
|
|
|
# Description: Top-down maze game.
|
2018-10-01 21:39:19 +10:00
|
|
|
# URL: https://gottcode.org/cutemaze
|
2023-07-30 15:49:33 +02:00
|
|
|
# Maintainer: unmaintained
|
2021-10-19 14:32:47 +11:00
|
|
|
# Depends on: qt6-base qt6-svg qt6-tools
|
2014-09-28 17:42:59 +10:00
|
|
|
|
|
|
|
name=cutemaze
|
2023-01-11 21:22:18 +00:00
|
|
|
version=1.3.2
|
2014-09-28 17:42:59 +10:00
|
|
|
release=1
|
2023-01-11 21:22:18 +00:00
|
|
|
source=(https://gottcode.org/$name/$name-$version.tar.bz2)
|
2014-09-28 17:42:59 +10:00
|
|
|
|
|
|
|
build() {
|
2023-07-30 15:49:33 +02:00
|
|
|
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
|
2022-08-20 20:26:29 +02:00
|
|
|
|
2023-07-30 15:49:33 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2014-09-28 17:42:59 +10:00
|
|
|
}
|