pmaports/kde/plasma-phone-components/APKBUILD

46 lines
1.6 KiB
Text
Raw Normal View History

# Contributor Bart Ribbers <bribbers@disroot.org>
# Maintainer Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phone-components
pkgver=0_git20181128
pkgrel=0
_commit="c614e3229a090960790f8f311898e63ac2911382"
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
2018-11-07 09:03:26 +00:00
plasma-pa plasma-nm upower libqofono"
makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev
2018-11-07 09:03:26 +00:00
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 libphonenumber-dev"
install="$pkgname.post-install
2018-11-07 09:03:26 +00:00
$pkgname.post-upgrade
$pkgname.post-deinstall"
source="$pkgname-$pkgver.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_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="22d09ffe938bbf3460c522642cb8640a897fd134d604fd6b89544168f0e1560a706ffc07811eca43b61eb0a00461bcd75a7947d82e79a75ff2a4dfe86abeb3f5 plasma-phone-components-0_git20181128.tar.gz"