pkgbuilds/kpeoplevcard-git/PKGBUILD

31 lines
638 B
Bash
Raw 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
pkgver=0.1.r124.gb84f309
2023-02-19 12:59:08 +02:00
pkgrel=1
pkgdesc="Expose VCard contacts to KPeople"
2023-02-19 12:59:08 +02:00
arch=(x86_64)
url="https://kde.org"
2023-02-19 12:59:08 +02:00
license=("GPL")
depends=(kpeople5 kcontacts5)
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")
2023-02-19 12:59:08 +02:00
md5sums=("SKIP")
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
}