pmaports/kde/plasma-phonebook/APKBUILD
Oliver Smith 35015139f3
*/*: disable armv7 for plasma programs
"plasma" and some related packages are currently missing in Alpine edge
armv7 due to a cyclic dependency. Let's disable all packages depending
on plasma for armv7 temporarily, to get the pmOS edge armv7 repo up
again.
[ci:skip-build], [ci:skip-vercheck]: only arch line changed

Related: build.postmarketos.org#72
2020-07-29 12:19:04 +02:00

32 lines
1.3 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phonebook
pkgver=0_git20200618
pkgrel=0
_commit="c67aecb8a373d735b92839f809711ca6c111ac5d"
pkgdesc="Contacts application which allows adding, modifying and removing contacts"
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
url="https://invent.kde.org/kde/plasma-phonebook"
license="LicenseRef-KDE-Accepted-GPL"
depends="kirigami2 qt5-qtquickcontrols qt5-qtbase-sqlite"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kcoreaddons-dev kirigami2-dev kpeople-dev kcontacts-dev kpeoplevcard-dev"
source="https://invent.kde.org/kde/plasma-phonebook/-/archive/$_commit/plasma-phonebook-$_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="a1b06880b6030bcd159cbd9f6b3dcdde0abf43c86ae02b9009e3c21b0e13d96772d7294ed9285319136a5128e8daf7a29a7f56606838dae211d0b9f57f6dba3a plasma-phonebook-c67aecb8a373d735b92839f809711ca6c111ac5d.tar.gz"