aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasma-angelfish/APKBUILD
blob: 07d2f12a7e85e5864efffb1a6e57bea053e42da8 (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
42
43
44
45
46
47
48
49
50
# Contributor: Jonah BrĂ¼chert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-angelfish
pkgver=1.8.0
pkgrel=0
pkgdesc="Small Webbrowser for Plasma Mobile"
# armhf blocked by extra-cmake-modules
# mips, ppc64le and s390x blocked by qt5-qtwebengine
arch="all !ppc64le !s390x !armhf !mips !mips64"
url="https://phabricator.kde.org/source/plasma-angelfish/"
license="GPL-3.0-or-later"
depends="
	kirigami2
	plasma-framework
	purpose
	qt5-qtbase-sqlite
	qt5-qtquickcontrols2
	"
makedepends="
	extra-cmake-modules
	kdeclarative-dev
	ki18n-dev
	kio-dev
	kirigami2-dev
	plasma-framework-dev
	purpose-dev
	qt5-qtwebengine-dev
	"
source="https://download.kde.org/stable/angelfish/$pkgver/angelfish-$pkgver.tar.xz"
builddir="$srcdir/angelfish-$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="6abc9ad8241beb797d43cdb674d44031f8f909e9c4ff424298aea9a5317c656cb912e7fe32936687bd9d427bce7649a8120d3fbee230b485df8429bf6bcf14b7  angelfish-1.8.0.tar.xz"