summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b322650c6a983dcb20fa8810958905e7f90dd44 (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
# Maintainer: zan <zan@420blaze.it>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=baloo-git
_name=${pkgname%-git}
pkgver=v5.71.0.rc1.r7.ga0b53673
pkgrel=1
pkgdesc="A framework for searching and managing metadata"
arch=(x86_64)
url='https://invent.kde.org/frameworks/baloo'
license=(LGPL)
depends=(lmdb kfilemetadata kidletime kio)
makedepends=(extra-cmake-modules git kdoctools python)
groups=(kf5)
provides=(baloo)
conflicts=(baloo)
source=("git+https://invent.kde.org/frameworks/$_name.git")
md5sums=('SKIP')

pkgver() {
  cd $_name
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S $_name
  cmake --build build
}

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