diff options
author | Rihards Skuja | 2023-11-10 20:20:53 +0200 |
---|---|---|
committer | Rihards Skuja | 2023-11-10 21:09:10 +0200 |
commit | 36e174fdc091d274dedd2c1c1056ce008079116f (patch) | |
tree | 6840b250cf0ac2de128e45ebdd430f0e80a8042d | |
parent | 4419335c58bd2277f8ccd0c790382838d8b999f8 (diff) | |
download | aur-kpeoplevcard-git.tar.gz |
Fix build failure because of missing dependencies
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 19 insertions, 25 deletions
@@ -1,18 +1,17 @@ pkgbase = kpeoplevcard-git - pkgdesc = KPeople VCard Support - pkgver = r38.32d50a9 + pkgdesc = Expose VCard contacts to KPeople + pkgver = 0.1.r124.gb84f309 pkgrel = 1 - url = https://phabricator.kde.org/source/kpeoplevcard/ + url = https://kde.org arch = x86_64 license = GPL makedepends = git makedepends = extra-cmake-modules - depends = kpeople - depends = kcontacts + depends = kpeople5 + depends = kcontacts5 provides = kpeoplevcard conflicts = kpeoplevcard - source = git+git://anongit.kde.org/kpeoplevcard + source = git+https://invent.kde.org/pim/kpeoplevcard.git md5sums = SKIP pkgname = kpeoplevcard-git - @@ -1,35 +1,30 @@ # Maintainer: Rihards Skuja <rhssk at posteo eu> + _pkgname=kpeoplevcard pkgname=$_pkgname-git -pkgver=r38.32d50a9 +pkgver=0.1.r124.gb84f309 pkgrel=1 -pkgdesc="KPeople VCard Support" +pkgdesc='Expose VCard contacts to KPeople' arch=(x86_64) -url="https://phabricator.kde.org/source/$_pkgname/" -license=("GPL") -depends=(kpeople kcontacts) +url='https://kde.org' +license=(GPL) +depends=(kpeople5 kcontacts5) makedepends=(git extra-cmake-modules) provides=($_pkgname) conflicts=($_pkgname) -source=("git+git://anongit.kde.org/$_pkgname") -md5sums=("SKIP") +source=("git+https://invent.kde.org/pim/$_pkgname.git") +md5sums=('SKIP') pkgver() { - cd $_pkgname - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir -p build + cd $_pkgname + git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd build - cmake ../$_pkgname - make + cmake -B build -S $_pkgname -Wno-dev + cmake --build build } package() { - cd build - make DESTDIR="$pkgdir/" install + DESTDIR="$pkgdir" cmake --install build } |