summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f7df3cf0d077ca0febe75bfc30b74ada9bd12944 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Maintainer:  Marcell Meszaros < marcell.meszaros AT runbox.eu >
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

_distname=krunner
pkgname=${_distname}5
pkgver=5.115.0
pkgrel=4
pkgdesc='Framework for providing different actions given a string query'
arch=(x86_64)
url="https://invent.kde.org/frameworks/${_distname}"
license=('LGPL-2.0-or-later')
depends=(
  gcc-libs
  glibc
  kactivities5
  kconfig5
  kcoreaddons5
  ki18n5
  kio5
  kservice5
  plasma-framework5
  qt5-base
  qt5-declarative
  threadweaver5
)
makedepends=(
  doxygen
  extra-cmake-modules
  graphviz
  kdoctools5
  qt5-doc
  qt5-tools
)
conflicts=("${_distname}<5.111")
replaces=("${_distname}<5.111")
groups=(kf5)
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_distname}-${pkgver}.tar.xz")
b2sums=('bc50f60c87ea4b583702f76f7ab38065ffae34da454b999ccac82f197dd047e00bd7973bea7991b5f02740f0c88aa272fa111382448114ed03aff23e5a413bbb')

build() {
  cmake -B build -S "${_distname}-${pkgver}" \
    -DBUILD_TESTING=OFF \
    -DBUILD_QCH=ON \
    -Wno-dev               # no need to spam logs with verbose CMake dev warnings and info 
  cmake --build build
}

package() {
  DESTDIR="${pkgdir}" cmake --install build
}