alr-repo/ki18n/alr.sh
2024-11-04 20:32:20 +03:00

42 lines
852 B
Bash

name='ki18n'
version='6.7.0'
release='1'
desc='Advanced internationalization framework.'
homepage='https://community.kde.org/Frameworks'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('amd64')
license=('LGPL-2.0-only' 'LGPL-3.0-only')
deps=(
'libgcc'
'glibc'
'iso-codes'
'qt6-qtbase'
)
build_deps=(
'doxygen'
'extra-cmake-modules'
'python3'
'qt6-qtdeclarative-devel'
'qt6-doctools'
'qt6-qttools-devel'
)
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
checksums=('SKIP')
build() {
cmake -B build -S $name-$version \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON \
-DDocBookXSL_DIR=/usr/share/xml/docbook/xsl-stylesheets-nons
cmake --build build -j$(($(nproc) - 1))
}
package() {
DESTDIR="$pkgdir" cmake --install build
}