archrelease: copy trunk to extra-x86_64
[arch-packages.git] / ktextaddons / trunk / PKGBUILD
blob631b8fa5f40c44f15fc1676cc908aef3848a02a2
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=ktextaddons
4 pkgver=1.2.0
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=('88126cecc592be4c5ecc0c6641474a4ca846dd1866056ce24bada9eb5d080183')
18 build() {
19   cmake -B build -S $pkgname-$pkgver \
20     -DBUILD_TESTING=OFF \
21     -DBUILD_QCH=ON \
22     -DBUILD_DESIGNERPLUGIN=ON
23   cmake --build build
26 package() {
27   DESTDIR="$pkgdir" cmake --install build