diff options
Diffstat (limited to 'community/plasma-phonebook/APKBUILD')
-rw-r--r-- | community/plasma-phonebook/APKBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/community/plasma-phonebook/APKBUILD b/community/plasma-phonebook/APKBUILD new file mode 100644 index 00000000000..5d62e5179df --- /dev/null +++ b/community/plasma-phonebook/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-mobile +pkgname=plasma-phonebook +pkgver=24.02.0 +pkgrel=0 +pkgdesc="Contacts application which allows adding, modifying and removing contacts" +# armhf blocked by extra-cmake-modules +arch="all !armhf" +url="https://invent.kde.org/plasma-mobile/plasma-phonebook" +license="LicenseRef-KDE-Accepted-GPL" +depends=" + kirigami-addons + kirigami + qt6-qtbase-sqlite + " +makedepends=" + extra-cmake-modules + kcontacts-dev + kcoreaddons-dev + kirigami-addons-dev + kirigami-dev + kpeople-dev + qt6-qtbase-dev + qt6-qtdeclarative-dev + qt6-qtsvg-dev + samurai + " +_repo_url="https://invent.kde.org/plasma-mobile/plasma-phonebook.git" +source="https://download.kde.org/stable/plasma-phonebook/plasma-phonebook-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +build() { + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + ctest --test-dir build --output-on-failure +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +e03aa6194e1d8797743924c55ea4f07a0d1cd1a3b49cbd051a3d7ef11b427b8046114975df63ad472598bebd02ff7296e707410fa56e902691b25cb96426d202 plasma-phonebook-24.02.0.tar.xz +" |