pmaports/kde/plasma-dialer/APKBUILD

33 lines
1.2 KiB
Text
Raw Normal View History

2020-03-23 13:49:49 +00:00
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-dialer
pkgver=0.1_git20200618
pkgrel=0
_commit="6be48498b6b93a8ce18ce923c2ea2d8f3d357e8b"
2020-03-23 13:49:49 +00:00
pkgdesc="A dialer for Plasma Mobile"
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
url="https://invent.kde.org/plasma-mobile/plasma-dialer"
2020-03-23 13:49:49 +00:00
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"
2020-03-23 13:49:49 +00:00
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
2020-03-23 13:49:49 +00:00
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
2020-03-23 13:49:49 +00:00
}
sha512sums="67e9ad2e5f80946598cbf573fd81f9e695d780d7001fc18afd736f3861ef19a7ba1227468ce2ff8d7b8adb9bcde4b1bf5c75958e824c1c52519c89ec4461e438 plasma-dialer-6be48498b6b93a8ce18ce923c2ea2d8f3d357e8b.tar.gz"