aboutsummaryrefslogtreecommitdiffstats
path: root/testing/konversation/APKBUILD
blob: b008714db5afa2e67728b6784813696b86a50ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=konversation
pkgver=1.7.5
pkgrel=1
arch="all !armhf"
url="https://konversation.kde.org/"
pkgdesc="A user-friendly and fully-featured IRC client"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kbookmarks-dev
	kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev
	kemoticons-dev ki18n-dev kidletime-dev knotifyconfig-dev kio-dev
	kparts-dev solid-dev kwallet-dev kwidgetsaddons-dev kglobalaccel-dev
	kdbusaddons-dev knotifications-dev kwindowsystem-dev kiconthemes-dev
	kitemviews-dev phonon-dev qca-dev"
source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz
	0001-Fix-build-with-Qt-5.13.patch"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="001534c7f6c5110ca5e210977cc4275e083f5c3704078a74aa573af659154e0fa4c3c960be08f41256db1ac4568f0734741bf10cfb2e15d9e6f6440250682504  konversation-1.7.5.tar.xz
20e7626721286194ee036d64bdb5faae1b774bc19a3958f221c03e3269b0d4ce6e768d6e4ee7c2db1ec9502ac2be202184cb842d072f321422664d62f56212ec  0001-Fix-build-with-Qt-5.13.patch"