pkgbuilds/kpeoplevcard-git/PKGBUILD

31 lines
633 B
Bash
Raw Permalink Normal View History

2023-02-19 12:59:08 +02:00
# Maintainer: Rihards Skuja <rhssk at posteo eu>
2023-02-19 12:59:08 +02:00
_pkgname=kpeoplevcard
pkgname=$_pkgname-git
2024-03-09 12:23:17 +02:00
pkgver=0.1.r139.g73c8f5f
pkgrel=2
pkgdesc='Expose VCard contacts to KPeople'
2023-02-19 12:59:08 +02:00
arch=(x86_64)
url='https://kde.org'
license=(GPL)
2024-03-09 12:23:17 +02:00
depends=(kpeople kcontacts)
2023-02-19 12:59:08 +02:00
makedepends=(git extra-cmake-modules)
provides=($_pkgname)
conflicts=($_pkgname)
source=("git+https://invent.kde.org/pim/$_pkgname.git")
md5sums=('SKIP')
2023-02-19 12:59:08 +02:00
pkgver() {
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() {
cmake -B build -S $_pkgname -Wno-dev
cmake --build build
2023-02-19 12:59:08 +02:00
}
package() {
DESTDIR="$pkgdir" cmake --install build
2023-02-19 12:59:08 +02:00
}