40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Contributor: Jonah Brüchert <jbb@kaidan.im>
|
|
pkgname=plasma-angelfish
|
|
pkgver=0.20180828
|
|
_commit=f86a7385161887dc698b69b367f0b2e7013dd968
|
|
pkgrel=0
|
|
pkgdesc="Small Webbrowser for Plasma Mobile"
|
|
url="https://phabricator.kde.org/source/plasma-angelfish/"
|
|
arch="all"
|
|
license="GPLv3"
|
|
depends="kirigami2 plasma-framework"
|
|
makedepends="cmake qt5-qtwebengine-dev kdeclarative-dev kirigami2-dev plasma-framework-dev kio-dev ki18n-dev extra-cmake-modules"
|
|
install=""
|
|
source="https://github.com/KDE/$pkgname/archive/$_commit.tar.gz"
|
|
|
|
prepare() {
|
|
mkdir "$builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
if [ "$CBUILD" != "$CHOST" ]; then
|
|
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
|
fi
|
|
cmake "$srcdir"/$pkgname-$_commit \
|
|
-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
|
|
}
|
|
|
|
sha512sums="ab6d4e439abd6c1d68fd5d8bd28132370014bd18f5b580919e22b3aabd39bcf4166747e21c229f5cda5e61f0ac5a1cbb3e616283acc5e6affd6a372e671518b5 f86a7385161887dc698b69b367f0b2e7013dd968.tar.gz"
|