blob: 62054f7bba92aebe97ce8351f8ab88941704f638 (
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
36
|
# Submitter: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
# Maintainer: TheBill2001 <tuantran1632001 at gmail dot com>
pkgname=qtcreator-spellchecker-plugin-git
pkgver=3.4.0.r2.g83277fc
pkgrel=1
pkgdesc="Spell Checker plugin for the Qt Creator IDE"
groups=('qt')
arch=('i686' 'x86_64')
url="https://github.com/CJCombrink/SpellChecker-Plugin"
license=('LGPL3' 'GPL3')
depends=('qtcreator' 'hunspell')
provides=('qtcreator-spellchecker-plugin')
conflicts=('qtcreator-spellchecker-plugin' 'qtcreator-spellchecker-plugin-bin')
makedepends=('git' 'cmake' 'qtcreator-devel')
source=("$pkgname"::git+${url}.git)
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake \
-S ${pkgname}\
-B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQT_DIR=/usr/lib/cmake/Qt6
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|