2020-12-05 13:02:44 +01:00
|
|
|
# Description: Extra cmake modules
|
2022-09-17 23:20:50 +02:00
|
|
|
# URL: https://github.com/KDE/extra-cmake-modules
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: cmake ninja
|
2020-12-05 13:02:44 +01:00
|
|
|
|
|
|
|
name=extra-cmake-modules
|
2022-09-17 23:20:50 +02:00
|
|
|
version=5.98.0
|
2020-12-05 13:02:44 +01:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/KDE/$name/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2022-09-17 23:20:50 +02:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-Wno-dev
|
2020-12-05 13:02:44 +01:00
|
|
|
|
2022-09-17 23:20:50 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-12-05 13:02:44 +01:00
|
|
|
}
|