/
PKGBUILD
33 lines (28 loc) · 957 Bytes
/
PKGBUILD
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
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=grantlee-editor
pkgver=${_kdever}
pkgrel=1
pkgdesc="Utilities and tools to manage themes in KDE PIM applications."
arch=('x86_64')
url='https://invent.kde.org/pim/grantlee-editor'
license=('LGPL2')
depends=('kcrash6' 'kdbusaddons6' 'kxmlgui6' 'karchive6' 'syntax-highlighting6'
'pimcommon' 'messagelib' 'grantleetheme' 'akonadi-contacts' 'kimap'
'kmime' 'ktextaddons')
makedepends=('extra-cmake-modules' 'kdoctools6')
groups=('kdepim')
source=($_mirror/${pkgname}-${_kdever}.tar.xz)
md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
build() {
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DQT_MAJOR_VERSION=6
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --install build
}