summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: afaf112275bdb534e493bf07719dbb40c5bb9002 (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
# Maintainer: Aaron Cottle <a@aaroncottle.au>
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=kstatusnotifieritem-git
pkgver=r202.gb0c774e
pkgrel=1
pkgdesc='Implementation of Status Notifier Items'
arch=(x86_64)
url='https://community.kde.org/Frameworks'
license=(LGPL-2.0-or-later)
depends=(gcc-libs
         glibc
         kwindowsystem-git
         qt6-base)
makedepends=(doxygen
             extra-cmake-modules-git
             qt6-doc
             qt6-tools)
source=(git+https://invent.kde.org/frameworks/kstatusnotifieritem.git)
sha256sums=('SKIP')

conflicts=('kstatusnotifieritem')
provides=('kstatusnotifieritem')

pkgver() {
  cd ${pkgname%-git}
  echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}

build() {
  cmake -B build -S kstatusnotifieritem \
    -DBUILD_TESTING=OFF \
    -DBUILD_QCH=ON
  cmake --build build
}

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