desktop/konversation/PKGBUILD

38 lines
941 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=konversation
pkgver=1.6
pkgrel=3
pkgdesc="A user friendly IRC client for KDE"
arch=('x86_64')
url="http://konversation.kde.org"
depends=('knotifyconfig' 'kemoticons' 'kparts' 'kidletime' 'qca-qt5' 'python3')
makedepends=('extra-cmake-modules' 'kdoctools')
license=('GPL2' 'FDL')
categories=('communication')
screenshots=('http://konversation.kde.org/screenshots/konversation13_2.png')
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"
avoid-dcc-crashes.patch)
sha1sums=('16e8c1969b04c0946b48a436e8825654b0029bb9'
'357fe9815f3ac35bde5718fc6f556ba037e0b72c')
prepare(){
mkdir -p build
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ../../avoid-dcc-crashes.patch
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}