From 514d7cb92c66ac1fc2babb58101aabed5cb80080 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sat, 7 Sep 2019 23:07:14 +0200 Subject: [PATCH] kde/plasma-angelfish: upgrade to 1.2.0 (!598) --- kde/plasma-angelfish/APKBUILD | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/kde/plasma-angelfish/APKBUILD b/kde/plasma-angelfish/APKBUILD index bdb8a7e17..04bc4d0f5 100644 --- a/kde/plasma-angelfish/APKBUILD +++ b/kde/plasma-angelfish/APKBUILD @@ -1,36 +1,41 @@ # Contributor: Jonah BrĂ¼chert # Maintainer: Bart Ribbers pkgname=plasma-angelfish -pkgver=1.1 +pkgver=1.2.0 pkgrel=0 pkgdesc="Small Webbrowser for Plasma Mobile" url="https://phabricator.kde.org/source/plasma-angelfish/" arch="all" -license="GPL-3.0" +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/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-v$pkgver/build" +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" + mkdir "$builddir"/build } build() { - cd "$builddir" - cmake .. \ + cd "$builddir"/build + cmake "$builddir" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=RelWithDebugInfo + -DBUILD_SHARED_LIBS=True make } +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + package() { - cd "$builddir" + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="2494104b042d9c29fcbbb943c92690d533bde4f152093b2cf67161f7536ed162590d6d11bfd40518f3496d2c12ba026cd8cecb1a882551b9a284af370daac962 plasma-angelfish-1.1.tar.gz" +sha512sums="b0614edb4647200dd3ca255121ad0055f2c63cdd2e8629ddf1823ce852917e453c0d1b6a23de9bfe2ddee388bea9a217df3880cf90e276bb603270ded186fcc6 plasma-angelfish-1.2.0.tar.gz"