desktop/konversation/PKGBUILD

38 lines
941 B
Bash
Raw Normal View History

2016-04-16 21:00:05 +08:00
# Include global configuration
source ../kdeapps.conf
2010-06-01 01:56:52 +08:00
pkgname=konversation
2015-04-08 21:17:58 +08:00
pkgver=1.6
pkgrel=3
2010-06-01 01:56:52 +08:00
pkgdesc="A user friendly IRC client for KDE"
2013-03-19 00:28:38 +08:00
arch=('x86_64')
2010-06-01 01:56:52 +08:00
url="http://konversation.kde.org"
2016-04-16 21:00:05 +08:00
depends=('knotifyconfig' 'kemoticons' 'kparts' 'kidletime' 'qca-qt5' 'python3')
makedepends=('extra-cmake-modules' 'kdoctools')
2010-06-01 01:56:52 +08:00
license=('GPL2' 'FDL')
categories=('communication')
2013-03-19 00:28:38 +08:00
screenshots=('http://konversation.kde.org/screenshots/konversation13_2.png')
2010-06-01 01:56:52 +08:00
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"
avoid-dcc-crashes.patch)
sha1sums=('16e8c1969b04c0946b48a436e8825654b0029bb9'
'357fe9815f3ac35bde5718fc6f556ba037e0b72c')
2010-06-01 01:56:52 +08:00
2016-04-16 21:00:05 +08:00
prepare(){
mkdir -p build
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i ../../avoid-dcc-crashes.patch
2016-04-16 21:00:05 +08:00
}
2010-06-01 01:56:52 +08:00
build() {
2016-04-16 21:00:05 +08:00
cd build
cmake_kf5 ../${pkgname}-${pkgver}
2011-12-06 04:59:57 +08:00
make
2010-06-01 01:56:52 +08:00
}
package() {
2016-04-16 21:00:05 +08:00
cd build
make DESTDIR=${pkgdir} install
2010-06-01 01:56:52 +08:00
}