author | Antonio Rojas
<arojas@archlinux.org> 2023-10-01 12:09:58 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2023-10-01 12:09:58 UTC |
parent | 6d938261e0d347e3f104bbab24c8501eac084ea0 |
.SRCINFO | +17 | -0 |
PKGBUILD | +6 | -12 |
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a0f52b1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = kpeoplevcard + pkgdesc = Makes it possible to expose vcards to KPeople + pkgver = 0.1 + pkgrel = 2 + url = https://kde.org/ + arch = x86_64 + license = GPL + makedepends = extra-cmake-modules + depends = kpeople5 + depends = kcontacts5 + source = https://download.kde.org/stable/kpeoplevcard/0.1/kpeoplevcard-0.1.tar.xz + source = https://download.kde.org/stable/kpeoplevcard/0.1/kpeoplevcard-0.1.tar.xz.sig + validpgpkeys = F53223F3337665C2CCEA122E873AC3459BBCF5C0 + sha256sums = 8de5df5a3abeed2b13fc56f33d1846ae5b90adfc2127bc1b0ffa5e300b7663c3 + sha256sums = SKIP + +pkgname = kpeoplevcard diff --git a/PKGBUILD b/PKGBUILD index 426d163..86f63d0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,30 +2,24 @@ pkgname=kpeoplevcard pkgver=0.1 -pkgrel=1 +pkgrel=2 pkgdesc='Makes it possible to expose vcards to KPeople' url='https://kde.org/' license=(GPL) arch=(x86_64) -depends=(kpeople kcontacts) +depends=(kpeople5 kcontacts5) makedepends=(extra-cmake-modules) -source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}) +source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}) sha256sums=('8de5df5a3abeed2b13fc56f33d1846ae5b90adfc2127bc1b0ffa5e300b7663c3' 'SKIP') validpgpkeys=(F53223F3337665C2CCEA122E873AC3459BBCF5C0) # Nicolas Fella <nicolas.fella@kdab.com> -prepare() { - mkdir -p build -} - build() { - cd build - cmake ../$pkgname-$pkgver \ + cmake -B build -S $pkgname-$pkgver \ -DBUILD_TESTING=OFF - make + cmake --build build } package() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build }