aboutsummaryrefslogtreecommitdiffstats
path: root/community/spacebar/APKBUILD
blob: d5b0f3389bedaf30d47f1abe692aa5e97554cf2f (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
34
35
36
37
38
39
40
41
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=spacebar
pkgver=21.06
pkgrel=0
pkgdesc="Collection of stuff for running IM on Plasma Mobile"
url="https://invent.kde.org/plasma-mobile/spacebar"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="GPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL"
depends="kirigami2"
makedepends="
	extra-cmake-modules
	kcontacts-dev
	ki18n-dev
	kirigami2-dev
	knotifications-dev
	kpeople-dev
	libqofono-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	telepathy-qt-dev
	"
source="https://download.kde.org/stable/plasma-mobile/$pkgver/spacebar-$pkgver.tar.xz"
subpackages="$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 --install build
}

sha512sums="
4244294f1b7154dea5cbb9e57b9d2e1bfeab18aa298430635cbe371cecb527e10eb8f93c265a2b5156f7e47ccc9829e9b49e5e71dbec1b5b7854de908e433e5c  spacebar-21.06.tar.xz
"