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 e8104a025df..3591f14927b 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.2 +pkgver=6.0.4 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=" -a0b955465cd8a13d3ef0d162057155fa3935ef5b5a194efc86887a0a25f0706362ad487913dd1c206c5b12875d3cf1917e698059d33fda192593d85de29df46c kdecoration-5.23.2.tar.xz +a27f97b5bdec32702e9aee66b81d11da340dcd12048a1a193f35419e45032bffbffc5e49bd65648314db6b0513e041b29c18941bf117474c72698fd45a60fbfc kdecoration-6.0.4.tar.xz " |