summaryrefslogtreecommitdiff
path: root/community/attica/APKBUILD
blob: 91366a2139085424c543cec210a5c9abe352c72a (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=attica
pkgver=0.4.2
pkgrel=0
pkgdesc="Freedesktop OCS binding for Qt"
url="http://www.kde.org/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="qt-dev cmake automoc4"
subpackages="$pkgname-dev"
source="http://download.kde.org/stable/attica/attica-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	default_prepare
	mkdir -p "$builddir"/build
}

build() {
	cd "$builddir"/build
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
	      -DCMAKE_BUILD_TYPE=Release \
	      -DQT4_BUILD=ON \
	      -Wno-dev \
	      "$builddir"
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="cef5d5c4bf01ed45ed8b59db354a4ac7949de435a45e4f753c847cadc15855e25997dedf1ff20c7bc4a2724d2cdba15139c54f0682df7d8cc8750de5be6f716e  attica-0.4.2.tar.bz2"