diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-04-18 21:45:46 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-04-24 11:46:41 +0000 |
commit | a5a5d0fd7ecfbf45e0402e79f8f40c70297dbf7d (patch) | |
tree | a7185a355b60d37abd9582f1f3a7f01911c6ba9d /community/kpmcore/APKBUILD | |
parent | f327893e914e847093eb51ecf7f21bb821989046 (diff) | |
download | aports-a5a5d0fd7ecfbf45e0402e79f8f40c70297dbf7d.tar.bz2 aports-a5a5d0fd7ecfbf45e0402e79f8f40c70297dbf7d.tar.xz |
community/kpmcore: move from testing
Diffstat (limited to 'community/kpmcore/APKBUILD')
-rw-r--r-- | community/kpmcore/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/kpmcore/APKBUILD b/community/kpmcore/APKBUILD new file mode 100644 index 0000000000..3a4a4ecab7 --- /dev/null +++ b/community/kpmcore/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kpmcore +pkgver=4.1.0 +pkgrel=3 +arch="all !armhf" +url="https://kde.org/applications/system/org.kde.partitionmanager" +pkgdesc="Library for managing partitions" +license="GPL-3.0-or-later" +depends="sfdisk smartmontools device-mapper-udev" +makedepends="extra-cmake-modules qt5-qtbase-dev kauth-dev kcoreaddons-dev ki18n-dev kwidgetsaddons-dev qca-dev" +source="https://download.kde.org/stable/kpmcore/$pkgver/src/kpmcore-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running dbus server + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --build build --target install +} + +sha512sums="c45b31a41c62a68aee991be0f7954f4bd2136660578cc60f7fa6f05e56716458421e16cd314b3b9a14b56fdc9377db511c1645e5c41f0446d86a8ac5bb66c273 kpmcore-4.1.0.tar.xz" |