2018-08-12 12:21:49 +00:00
|
|
|
# Contributor: Jonah Brüchert <jbb@kaidan.im>
|
2019-01-07 18:35:11 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2018-08-12 12:21:49 +00:00
|
|
|
pkgname=plasma-angelfish
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgver=1.1
|
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"
|
2019-01-07 18:35:11 +00:00
|
|
|
license="GPL-3.0"
|
2019-05-21 15:09:25 +00:00
|
|
|
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"
|
2018-08-12 12:21:49 +00:00
|
|
|
|
|
|
|
prepare() {
|
2019-05-21 15:09:25 +00:00
|
|
|
default_prepare
|
|
|
|
|
2018-08-12 12:21:49 +00:00
|
|
|
mkdir "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
2019-02-11 16:25:00 +00:00
|
|
|
cmake .. \
|
2018-08-12 12:21:49 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_SHARED_LIBS=True \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo
|
2018-08-12 12:21:49 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
2019-02-11 16:25:00 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
2018-08-12 12:21:49 +00:00
|
|
|
}
|
|
|
|
|
2019-05-21 15:09:25 +00:00
|
|
|
sha512sums="2494104b042d9c29fcbbb943c92690d533bde4f152093b2cf67161f7536ed162590d6d11bfd40518f3496d2c12ba026cd8cecb1a882551b9a284af370daac962 plasma-angelfish-1.1.tar.gz"
|