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