pmaports/kde/plasma-angelfish/APKBUILD
Bart Ribbers 5267dd0301
kde/*: cleanups and updated git-based packages (!375)
All packages are now built as RelWithDebugInfo rather than Release. This
should make debugging these packages easier.

I've also updated all Plasma packages without releases (git-based) to
their latest masters. plasma-angelfish now has it's first release, and a
new dependency called "purpose".

Calindori had a typo in the pkgver causing it to look like it was
released in the 30th month of the year. Because of this, the old package
will have to explicitly be removed from the repository. Let's hope no
one uses that package yet, or they will have to wait till 2020 before
it'll get updated again on their system lol.

[skip ci]: it does not finish in time. ollieparanoid made sure that it
           builds on all arches. Usually we would use [ci:skip-build]
           instead of [skip-ci], but now that [ci:skip-build] also
           verifies that downloading sources is working as expected,
           and for some reason gitlab CI can't download one source file
           even when retrying [1] (cache on their end?), let's skip it
           this time.

[1] https://gitlab.com/postmarketOS/pmaports/-/jobs/219539514
2019-05-26 19:49:43 +02:00

36 lines
1.1 KiB
Text

# Contributor: Jonah Brüchert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-angelfish
pkgver=1.1
pkgrel=0
pkgdesc="Small Webbrowser for Plasma Mobile"
url="https://phabricator.kde.org/source/plasma-angelfish/"
arch="all"
license="GPL-3.0"
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"
prepare() {
default_prepare
mkdir "$builddir"
}
build() {
cd "$builddir"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo
make
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="2494104b042d9c29fcbbb943c92690d533bde4f152093b2cf67161f7536ed162590d6d11bfd40518f3496d2c12ba026cd8cecb1a882551b9a284af370daac962 plasma-angelfish-1.1.tar.gz"