102.11.0-1
[arch-packages.git] / ktextaddons / trunk / PKGBUILD
blob21188cf63fec9e0d482a809b84733d6aab74f2c4
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=ktextaddons
4 pkgver=1.3.1
5 pkgrel=1
6 pkgdesc='Various text handling addons'
7 arch=(x86_64)
8 license=(GPL)
9 url='https://invent.kde.org/libraries/ktextaddons'
10 depends=(kxmlgui qtkeychain-qt5 qt5-speech)
11 makedepends=(extra-cmake-modules doxygen qt5-tools)
12 optdepends=('languagetool: Grammar checking'
13             'grammalecte: French grammar checking'
14             'libreoffice: Use autocorrection data from LibreOffice')
15 source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz)
16 sha256sums=('5c65b3bc2f74aa1a4eee4f5483b70f542145894e27a02b7da96f834f6ef1a70e')
18 build() {
19   cmake -B build -S $pkgname-$pkgver \
20     -DBUILD_TESTING=OFF \
21     -DBUILD_DESIGNERPLUGIN=ON \
22     -DBUILD_QCH=ON
23   cmake --build build
26 package() {
27   DESTDIR="$pkgdir" cmake --install build