pmaports/kde/plasma-angelfish/APKBUILD

36 lines
1.1 KiB
Text
Raw Normal View History

2018-08-12 12:21:49 +00:00
# Contributor: Jonah Brüchert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
2018-08-12 12:21:49 +00:00
pkgname=plasma-angelfish
pkgver=0_git20190208
2018-08-12 12:21:49 +00:00
pkgrel=0
_commit="382cf2dbb434cdee572b451daf86810f448be5a0"
2018-08-12 12:21:49 +00:00
pkgdesc="Small Webbrowser for Plasma Mobile"
url="https://phabricator.kde.org/source/plasma-angelfish/"
arch="all"
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"
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"
cmake .. \
2018-08-12 12:21:49 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release
2018-08-12 12:21:49 +00:00
make
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
2018-08-12 12:21:49 +00:00
}
sha512sums="62c9be99752c425d9b1b19ce061a29be1c22a72e4a82f7441e9e2c248b62241026f6b992bb193e4b29ce199b78fd8ecad3b716accf5088fd8ce16f553791822e plasma-angelfish-382cf2dbb434cdee572b451daf86810f448be5a0.tar.gz"