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-01-07 18:35:11 +00:00
|
|
|
pkgver=0_git20190105
|
2018-08-12 12:21:49 +00:00
|
|
|
pkgrel=0
|
2019-01-07 18:35:11 +00:00
|
|
|
_commit="bad30c68046d37c34f6b40df677212c9b71e6164"
|
2018-08-12 12:21:49 +00:00
|
|
|
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"
|
2018-08-12 12:21:49 +00:00
|
|
|
depends="kirigami2 plasma-framework"
|
|
|
|
makedepends="cmake qt5-qtwebengine-dev kdeclarative-dev kirigami2-dev plasma-framework-dev kio-dev ki18n-dev extra-cmake-modules"
|
2019-01-07 18:35:11 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/jbbgameich/$pkgname/-/archive/$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit/build"
|
2018-08-12 12:21:49 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
if [ "$CBUILD" != "$CHOST" ]; then
|
|
|
|
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
|
|
|
fi
|
2019-01-07 18:35:11 +00:00
|
|
|
cmake "$builddir"/.. \
|
2018-08-12 12:21:49 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_SHARED_LIBS=True \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
|
|
|
-DCMAKE_C_FLAGS="$CFLAGS" \
|
|
|
|
${CMAKE_CROSSOPTS}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2019-01-07 18:35:11 +00:00
|
|
|
sha512sums="99df4a4f5cd0307ce3a4409f5ff91a10dfd96dfbdf6453336caec48b593454263182049abb4b010741080e4b07f96010f65aa3874fc641f3ddad883c5941183d plasma-angelfish-bad30c68046d37c34f6b40df677212c9b71e6164.tar.gz"
|