APKBUILD 1.3 KB
Newer Older
1 2 3 4 5 6
# Contributor: Jonah Brüchert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-angelfish
pkgver=1.3.0
pkgrel=0
pkgdesc="Small Webbrowser for Plasma Mobile"
7
arch="all !ppc64le !s390x !armhf" # ppc64le and s390x blocked by qt5-qtwebengine, armhf blocked by kirigami2 -> qt5-qtdeclarative-dev
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
url="https://phabricator.kde.org/source/plasma-angelfish/"
license="GPL-3.0-or-later"
depends="kirigami2 plasma-framework purpose"
makedepends="cmake qt5-qtwebengine-dev kdeclarative-dev kirigami2-dev plasma-framework-dev kio-dev ki18n-dev extra-cmake-modules purpose-dev"
source="$pkgname-$pkgver.tar.gz::https://invent.kde.org/jbbgameich/plasma-angelfish/-/archive/v$pkgver/plasma-angelfish-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

prepare() {
	default_prepare

	mkdir "$builddir"/build
}

build() {
	cd "$builddir"/build
	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True
	make
}

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="e3159dbed3dcadd5e36089657d54006fbf22dbafa236eeacf091963badb1e1ecc6928b50b8dab558a7dbf4b194abe1ff7cdd41ee0ca05106b34a79d50a90a58a  plasma-angelfish-1.3.0.tar.gz"