# Maintainer Zanny # Maintainer: Martin Blumenstingl # Author: Antonio Rojas pkgname=telepathy-kde-text-ui-git _name=ktp-text-ui pkgver=v18.12.3.r20.gb38a5f8 pkgrel=1 pkgdesc='Telepathy handler for Text Chats' arch=(x86_64) url='http://community.kde.org/Real-Time_Communication_and_Collaboration' license=(GPL) depends=(telepathy-kde-common-internals-git kemoticons) makedepends=(extra-cmake-modules git kdoctools python) conflicts=(telepathy-kde-text-ui) source=("git+https://invent.kde.org/network/$_name.git") sha256sums=('SKIP') pkgver() { cd $_name git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cmake -B build -S $_name cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }