pmaports/kde/plasma-angelfish/APKBUILD

42 lines
1.2 KiB
Text
Raw Normal View History

2018-08-12 12:21:49 +00:00
# Contributor: Jonah Brüchert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
2018-08-12 12:21:49 +00:00
pkgname=plasma-angelfish
pkgver=1.2.0
2018-08-12 12:21:49 +00:00
pkgrel=0
pkgdesc="Small Webbrowser for Plasma Mobile"
url="https://phabricator.kde.org/source/plasma-angelfish/"
arch="all"
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"
2018-08-12 12:21:49 +00:00
prepare() {
default_prepare
mkdir "$builddir"/build
2018-08-12 12:21:49 +00:00
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2018-08-12 12:21:49 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True
2018-08-12 12:21:49 +00:00
make
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
2018-08-12 12:21:49 +00:00
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
2018-08-12 12:21:49 +00:00
}
sha512sums="b0614edb4647200dd3ca255121ad0055f2c63cdd2e8629ddf1823ce852917e453c0d1b6a23de9bfe2ddee388bea9a217df3880cf90e276bb603270ded186fcc6 plasma-angelfish-1.2.0.tar.gz"