aboutsummaryrefslogblamecommitdiffstats
path: root/testing/kontactinterface/APKBUILD
blob: f777332514f434911b9d527eb2ee32f063414503 (plain) (tree)






























                                                                                                                                                                              
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kontactinterface
pkgver=19.04.2
pkgrel=0
arch="all"
url="https://kontact.kde.org/"
pkgdesc="Kontact Plugin Interface Library"
license="LGPL-2.0-only OR LGPL-3.0-only"
depends_dev="kcoreaddons-dev kparts-dev kwindowsystem-dev ki18n-dev kxmlgui-dev kiconthemes-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="070f884e9cf18246107f92663280d36dff37f8c853d31a306d463fedc805e460c7ea358e4377f4cc9a49916e8b5677cf23eebefdd610f1fd9c4b74fea1c01efd  kontactinterface-19.04.2.tar.xz"