blob: 2e019f9d55a76cef2636527163db69b9bf6dc2f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: TheBill2001 <tuantran1632001 at gmail dot com>
pkgname=qtcreator-spellchecker-plugin
pkgver=3.8.0
pkgrel=1
pkgdesc="Spell Checker plugin for the Qt Creator IDE"
groups=('qt')
arch=('x86_64')
url="https://github.com/CJCombrink/SpellChecker-Plugin"
license=('LGPL-3.0-only' 'GPL-3.0-only')
depends=(
'qtcreator>=15.0.0' 'qtcreator<16.0.0'
'hunspell' # Don't know why upstream binary does not link to hunspell but this does.
)
makedepends=(
'cmake'
'qtcreator-devel>=15.0.0' 'qtcreator-devel<16.0.0'
)
source=("$pkgname-$pkgver.tar.gzr::${url}/archive/v$pkgver.tar.gz")
sha256sums=('9654af0e48ab39f34930669ce913a330f054eb2edf895a5bd63ff0f156edc823')
build() {
cmake \
-S SpellChecker-Plugin-$pkgver\
-B build \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_PREFIX_PATH="/usr/lib/cmake/Qt6" \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|