contrib/cutemaze/Pkgfile

22 lines
539 B
Plaintext
Raw Normal View History

2014-09-28 09:42:59 +02:00
# Description: Top-down maze game.
2018-10-01 13:39:19 +02:00
# URL: https://gottcode.org/cutemaze
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: qt6-base qt6-svg qt6-tools
2014-09-28 09:42:59 +02:00
name=cutemaze
2022-08-20 20:26:29 +02:00
version=1.3.1
2014-09-28 09:42:59 +02:00
release=1
2018-10-01 13:39:19 +02:00
source=(https://gottcode.org/$name/$name-$version-src.tar.bz2)
2014-09-28 09:42:59 +02:00
build() {
2022-08-20 20:26:29 +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
cmake --build build
DESTDIR=$PKG cmake --install build
2014-09-28 09:42:59 +02:00
}