blob: b98abf53a80e1068c3ed21f54054b0067a111b79 (
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
41
|
# Contributor:
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=attica
pkgver=5.56.0
pkgrel=0
pkgdesc="Freedesktop OCS binding for Qt"
url="http://www.kde.org/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="qt5-qttools-dev extra-cmake-modules cmake automoc4"
subpackages="$pkgname-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
mkdir -p "$builddir"/build
}
build() {
cd "$builddir"/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev \
"$builddir"
make
}
check() {
cd "$builddir"/build
make test
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="e365aeeec6545406e03350494601b23f0b5bebcc978ca3c23327007124037a68476127e94438462898c3cdb9df3c816efb04bdd11a3cdbc322437626ae63e2cc attica-5.56.0.tar.xz"
|