diff options
Diffstat (limited to 'community/kdecoration/APKBUILD')
-rw-r--r-- | community/kdecoration/APKBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/community/kdecoration/APKBUILD b/community/kdecoration/APKBUILD index a3332ec5cc8..04905f57b71 100644 --- a/community/kdecoration/APKBUILD +++ b/community/kdecoration/APKBUILD @@ -1,18 +1,23 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: 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-plasma pkgname=kdecoration -pkgver=5.23.1 +pkgver=6.0.3 pkgrel=0 pkgdesc="Plugin based library to create window decorations" arch="all !armhf" url="https://kde.org/plasma-desktop/" license="LGPL-2.1-only OR LGPL-3.0-only" depends_dev=" + kcoreaddons-dev ki18n-dev - qt5-qtbase-dev + qt6-qtbase-dev " makedepends="$depends_dev extra-cmake-modules + samurai " checkdepends="xvfb-run" @@ -20,25 +25,26 @@ case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac -source="https://download.kde.org/$_rel/plasma/$pkgver/kdecoration-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" +_repo_url="https://invent.kde.org/plasma/kdecoration.git" +source="https://download.kde.org/stable/plasma/$pkgver/kdecoration-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest + xvfb-run -a ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } + sha512sums=" -14537f1a7751fd96e167f198d9dc06fe3dc1c55d0a99fad9d092e4796cf79e86e23f830bcf691a0feab10a1a11db52b20e990a8b785ca607932d767350a93065 kdecoration-5.23.1.tar.xz +955f943384ad551cf77af1e1848fb732e9612dafb104f5c4f14c8d54ae3ac7a17327c811053d4e741cd71cf4387145721585f45721c3faaeb354eecd1e60dae3 kdecoration-6.0.3.tar.xz " |