diff options
Diffstat (limited to 'testing/kpmcore')
-rw-r--r-- | testing/kpmcore/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kpmcore/APKBUILD b/testing/kpmcore/APKBUILD new file mode 100644 index 0000000000..28edd7ad18 --- /dev/null +++ b/testing/kpmcore/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kpmcore +pkgver=4.0.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/system/org.kde.partitionmanager" +pkgdesc="Library for managing partitions" +license="GPL-3.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev kauth-dev kcoreaddons-dev ki18n-dev kwidgetsaddons-dev qca-dev" +source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running dbus server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="16f0a8ecae35c214272f28c49b5fff3d2d5e0959b9dceba392b9b6186d44e10d11fcf16ef0ad1da42f49f0c631ccb858d726a92d7c2f22125dae07fd4d2c5500 kpmcore-4.0.0.tar.xz" |