pkgname=plasma-phone-components pkgver=682.b79bb13 pkgrel=2 pkgdesc="Modules providing phone functionality for Plasma" arch="all" url="https://community.kde.org/Plasma/Mobile" license="GPL3" depends="plasma-workspace qt5-qtgraphicaleffects" makedepends="extra-cmake-modules kpeople-dev telepathy-qt5-dev qt5-qtdeclarative-dev kpeople-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" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/master.tar.gz $install" prepare() { mkdir -p "$srcdir"/build } build() { cd "$srcdir"/build cmake "$srcdir"/$pkgname-master \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTING=OFF \ -DLIB_INSTALL_DIR=lib \ -DLIBEXEC_INSTALL_DIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "$srcdir"/build make DESTDIR="$pkgdir/" install } sha512sums="d130760c9acc4dfeae1f75d9a8a2ed0b11efe13c8850ecf779b11592023d7af4a9d903e79607b18ba2412984d1bafef2e26e4129d6f1f8cd3ada05ab6081d8cc plasma-phone-components-682.b79bb13.tar.gz 43046f7a0526986ca8453929c88bd1f05dfd255ba809d339a395935c7fb65ef562531a1770d3a0d7c07d6f3b9a3bbf9ea7791d12581f64d4b3dd0ccb83c945b5 plasma-phone-components.post-install 43046f7a0526986ca8453929c88bd1f05dfd255ba809d339a395935c7fb65ef562531a1770d3a0d7c07d6f3b9a3bbf9ea7791d12581f64d4b3dd0ccb83c945b5 plasma-phone-components.post-upgrade 43046f7a0526986ca8453929c88bd1f05dfd255ba809d339a395935c7fb65ef562531a1770d3a0d7c07d6f3b9a3bbf9ea7791d12581f64d4b3dd0ccb83c945b5 plasma-phone-components.post-deinstall"