mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 11:02:13 +08:00
42 lines
998 B
Bash
42 lines
998 B
Bash
pkgname=konversation-kf5
|
|
_pkgname=konversation
|
|
pkgver=1.5.1
|
|
_pkgver=1.5.1
|
|
pkgrel=1
|
|
pkgdesc="A user friendly IRC client for KDE"
|
|
arch=('x86_64')
|
|
url="http://konversation.kde.org"
|
|
license=('GPL2' 'FDL')
|
|
depends=('akonadi-qt5' 'kfilemetadata5' 'kidletime' 'kcmutils' 'krunner' 'kdelibs4support'
|
|
'kemoticons' 'knotifyconfig' 'phonon-qt5' 'kf5-baloo-widgets' 'qca-qt5')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'git')
|
|
conflicts=('konversation')
|
|
groups=('communication')
|
|
#source=("http://download.kde.org/stable/${pkgname}/${_pkgver}/src/${pkgname}-${_pkgver}.tar.xz")
|
|
source=("git://anongit.kde.org/konversation.git#branch=frameworks")
|
|
md5sums=('SKIP')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${_pkgname} \
|
|
-DCMAKE_BUILD_TYPE=${KFBuildType} \
|
|
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
|
|
-DQT4_BUILD=OFF \
|
|
-DLIB_INSTALL_DIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test || return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|