diff options
Diffstat (limited to 'community/mauikit-accounts/APKBUILD')
-rw-r--r-- | community/mauikit-accounts/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/community/mauikit-accounts/APKBUILD b/community/mauikit-accounts/APKBUILD new file mode 100644 index 00000000000..792c948a214 --- /dev/null +++ b/community/mauikit-accounts/APKBUILD @@ -0,0 +1,49 @@ +# 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=maui +pkgname=mauikit-accounts +pkgver=3.0.2 +pkgrel=0 +pkgdesc="MauiKit Utilities to handle User Accounts" +# armhf blocked by extra-cmake-modules +arch="all !armhf" +url="https://mauikit.org/" +license="GPL-2.0-or-later" +depends="kirigami2" +depends_dev=" + kconfig5-dev + kcoreaddons5-dev + ki18n5-dev + mauikit-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " +makedepends="$depends_dev + extra-cmake-modules + samurai + " +_repo_url="https://invent.kde.org/maui/mauikit-accounts.git" +source="https://download.kde.org/stable/maui/mauikit-accounts/$pkgver/mauikit-accounts-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +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=" +a4e49cdf3edb95e66f33c7f3e1910d15eb7a48a78a39ebd713b3e56d5668d514d94f1fdf9e930f0b624ce41a251dc84125fe7138db8cd80074ad5acbbc65e20b mauikit-accounts-3.0.2.tar.xz +" |