Skip to content

Commit

Permalink
pkg: plasma: kpeoplesink: new pkgbuild
Browse files Browse the repository at this point in the history
Signed-off-by: Danct12 <[email protected]>
  • Loading branch information
Danct12 committed Feb 12, 2022
1 parent 225f8ca commit 44ae28c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions PKGBUILDS/plasma/kpeoplesink/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Maintainer: Danct12 <[email protected]>
# Contributor: Bernhard Landauer <[email protected]>
# Contributor: Bhushan Shah <bhush94 at gmail dot com>

pkgname=kpeoplesink
pkgver=r77.g5d5e1b9
pkgrel=1
pkgdesc="Expose Sink contacts to KPeople"
arch=('aarch64' 'x86_64')
url="https://invent.kde.org/pim/$pkgname"
license=('LGPL')
depends=('kaccounts-integration' 'kcontacts' 'kpeople' 'sink')
makedepends=('git' 'cmake' 'extra-cmake-modules')
replaces=("$pkgname-git")
source=("git+$url.git")
md5sums=('SKIP')

pkgver() {
cd $pkgname
printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
mkdir -p build
}

build() {
cd build
cmake ../$pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release
make
}

package() {
cd build
make DESTDIR="$pkgdir/" install
}

0 comments on commit 44ae28c

Please sign in to comment.