alr-repo/extra-cmake-modules/alr.sh
2024-11-04 20:32:20 +03:00

33 lines
696 B
Bash

name='extra-cmake-modules'
version='6.7.0'
release='1'
desc='Extra modules and scripts for CMake'
homepage='https://community.kde.org/Frameworks'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('LGPL')
deps=(
'cmake'
)
build_deps=(
'python3-requests'
'python3-sphinx'
'qt6-qttools'
)
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
checksums=('SKIP')
build() {
cmake -B build -S $name-$version \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_HTML_DOCS=ON \
-DBUILD_QTHELP_DOCS=ON
cmake --build build -j$(($(nproc) - 1))
}
package() {
DESTDIR="$pkgdir" cmake --install build
}