diff options
Diffstat (limited to 'community/kdesdk-kio/APKBUILD')
-rw-r--r-- | community/kdesdk-kio/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/kdesdk-kio/APKBUILD b/community/kdesdk-kio/APKBUILD new file mode 100644 index 00000000000..8f5b403078c --- /dev/null +++ b/community/kdesdk-kio/APKBUILD @@ -0,0 +1,45 @@ +# 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-applications +pkgname=kdesdk-kio +pkgver=24.02.2 +pkgrel=0 +# armhf blocked by extra-cmake-modules +arch="all !armhf" +url="https://kde.org/applications/development" +pkgdesc="KIO-Slaves" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + ki18n-dev + kio-dev + perl-dev + qt6-qtbase-dev + samurai + " +subpackages="$pkgname-lang" +_repo_url="https://invent.kde.org/sdk/kdesdk-kio.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/kdesdk-kio-$pkgver.tar.xz" + +build() { + cmake -B build -G Ninja \ + -DBUILD_WITH_QT6=ON \ + -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=" +3c005bbe1868b91997beb464a7ca9ef27beb81e8599127be497957d202be2b526ab4366bf85c1e2c30dfdda995c675a233f6613d8521e82d332a94d735e1f94d kdesdk-kio-24.02.2.tar.xz +" |