pmaports/kde/plasma-dialer/APKBUILD

32 lines
1.2 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-dialer
pkgver=0_git20200523
pkgrel=0
_commit="7ba07e47646c78d1995e093f5ab7448b4935d5a3"
pkgdesc="A dialer for Plasma Mobile"
arch="all !armhf" # Blocked qt5-qtdeclarative
url="https://invent.kde.org/plasma-mobile/plasma-dialer"
license="GPL-2.0-or-later"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kpeople-dev kdbusaddons-dev knotifications-dev pulseaudio-dev telepathy-qt-dev libphonenumber-dev"
source="https://invent.kde.org/plasma-mobile/plasma-dialer/-/archive/$_commit/plasma-dialer-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="73e3a258386decefc8200c2c2674ee4f1fbd04c2a8b051e8a6d27b5dee85f53777d0b951eaada31c98a256bfe95711ef88d1f7d9f5a9f910b2117241d5a52298 plasma-dialer-7ba07e47646c78d1995e093f5ab7448b4935d5a3.tar.gz"