aboutsummaryrefslogtreecommitdiffstats
path: root/community/buho/APKBUILD
blob: a7d0285eb8117598a0665eb610366aaadc942b76 (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
42
43
44
45
46
47
48
49
50
51
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=buho
pkgver=2.2.0
pkgrel=0
pkgdesc="Note taking app based on MauiKit"
# armhf blocked by qt5-qtdeclarative
# s390x, ppc64le and riscv64 blocked by qt5-qtwebview
arch="all !armhf !s390x !ppc64le !riscv64"
url="https://invent.kde.org/maui/buho"
license="GPL-2.0-or-later"
depends="
	kde-icons
	mauikit-texteditor
	"
makedepends="
	attica-dev
	extra-cmake-modules
	kconfig-dev
	ki18n-dev
	kio-dev
	knotifications-dev
	mauikit-dev
	mauikit-accounts-dev
	mauikit-filebrowsing-dev
	qt5-qtbase-dev
	qt5-qtbase-sqlite
	qt5-qtdeclarative-dev
	qt5-qtquickcontrols2-dev
	qt5-qtsvg-dev
	qt5-qtwebview-dev
	samurai
	syntax-highlighting-dev
	"
source="https://download.kde.org/stable/maui/buho/$pkgver/buho-$pkgver.tar.xz"
options="!check" # No tests available

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=MinSizeRel \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
4f2c99d524d4e1b28f68c270aae66554dd0fbd8b9924f596dab4d6207a7b5bdfad250eb5cb16f236bafcb09caf71fd21c73cbe4d607d9aa6960fbdd58f9fce87  buho-2.2.0.tar.xz
"