blob: 2584b1d5563638815eb65f27728a9b150581a849 (
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
|
# Maintainer: Rihards Skuja <rhssk at posteo eu>
_pkgname=kpeoplevcard
pkgname=$_pkgname-git
pkgver=0.1.r124.gb84f309
pkgrel=1
pkgdesc='Expose VCard contacts to KPeople'
arch=(x86_64)
url='https://kde.org'
license=(GPL)
depends=(kpeople5 kcontacts5)
makedepends=(git extra-cmake-modules)
provides=($_pkgname)
conflicts=($_pkgname)
source=("git+https://invent.kde.org/pim/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake -B build -S $_pkgname -Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|