blob: caea20e6d0431641040fe67926a58046c4dea0f2 (
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
38
39
40
|
# Contributor:
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=attica
pkgver=5.67.0
pkgrel=1
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"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/attica-$pkgver.tar.xz"
prepare() {
default_prepare
mkdir -p "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="59965df4eea792563cb46fd6d6ae8604dff5547917ea22a0ae00659d692ec05851768f66860de15c37631f918c1b54fc07264e9df123da3235c5a43576105cd7 attica-5.67.0.tar.xz"
|