pmaports/kde/plasma-phone-components/APKBUILD
Bart Ribbers a35266bb10 Upgrade KDE-frameworks to 5.48 (!1638) [skip ci]
Skipping CI, because it wouldn't get done with building all the changed
KDE packages anyway.
2018-07-17 19:25:41 +02:00

45 lines
1.6 KiB
Text

# Contributor Bart Ribbers <bribbers@disroot.org>
# Maintainer Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phone-components
pkgver=0_git20180616
pkgrel=0
_commit="55e692fa53eb048c30aff4a694ed1df113357102"
pkgdesc="Modules providing phone functionality for Plasma"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="GPL3"
depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols
plasma-pa plasma-nm upower libqofono"
makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev
plasma-framework-dev kservice-dev kdeclarative-dev ki18n-dev kio-dev kcoreaddons-dev
kconfig-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev
kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev
kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev
telepathy-qt5-dev"
install="$pkgname.post-install
$pkgname.post-upgrade
$pkgname.post-deinstall"
source="$pkgname-$pkgver.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir/" install
}
sha512sums="743f1f08423a5286bd8af1941c833aa3bd3e7ebfe75c03900eb030059bbd1e775d63e11c6f491b6332a2acfa7d49763be1d6547e5ed85196d0a9c41929c85d46 plasma-phone-components-0_git20180616.tar.gz"