aboutsummaryrefslogtreecommitdiffstats
path: root/community/ktp-common-internals/APKBUILD
blob: 96abce7d680ceaa9faf6245a863e7adea9b6368b (plain) (blame)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ktp-common-internals
pkgver=20.12.2
pkgrel=0
pkgdesc="Library for KTp"
url="https://github.com/kde/ktp-common-internals"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
license="LGPL-2.1-only AND GPL-2.0-only"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev knotifications-dev kio-dev kwidgetsaddons-dev kcmutils-dev knotifyconfig-dev ktexteditor-dev kwallet-dev kconfig-dev kwindowsystem-dev kemoticons-dev kiconthemes-dev kpeople-dev telepathy-qt-dev"
makedepends="$depends_dev extra-cmake-modules doxygen"
source="https://download.kde.org/stable/release-service/$pkgver/src/ktp-common-internals-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # No tests

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

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="1b765a2cc5ca33787eabc0f97b12a69850d645f54524de27eda8da1115c46242c95c0d10a0455047ff15302e2ebbc5b78809127cd6f5609546400d09a72f4428  ktp-common-internals-20.12.2.tar.xz"