aboutsummaryrefslogtreecommitdiffstats
path: root/community/attica/APKBUILD
blob: 09af2842d14133d16669d82c2823d608450dffcb (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
29
30
31
32
33
# Contributor:
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=attica
pkgver=5.79.0
pkgrel=0
pkgdesc="Freedesktop OCS binding for Qt"
url="http://www.kde.org/"
arch="all !armhf" # Blocked by extra-cmake-modules
license="LGPL-2.0-or-later"
makedepends="qt5-qttools-dev extra-cmake-modules doxygen"
options="!check" # failing on builders
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/attica-$pkgver.tar.xz"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="7e0c7c650545b47c827627f4bbe443ebbca3273d22196f997a3c9deba48bf6549caefb58829cde6098ffc3620c7b12a6f2602ddaded81e2125937983fadd8d72  attica-5.79.0.tar.xz"