diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-22 00:41:09 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-28 17:14:47 +0000 |
commit | daac178f030578172e862d220752410d0f5b3e00 (patch) | |
tree | 899bab03e386131234a51f2f876db60792a457d5 /testing/kconfig | |
parent | db22cb0ecab69d4963fac00af225da95db103c0d (diff) | |
download | aports-daac178f030578172e862d220752410d0f5b3e00.tar.bz2 aports-daac178f030578172e862d220752410d0f5b3e00.tar.xz |
testing/kconfig: new aport
Closes GH-7992
Diffstat (limited to 'testing/kconfig')
-rw-r--r-- | testing/kconfig/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kconfig/APKBUILD b/testing/kconfig/APKBUILD new file mode 100644 index 0000000000..b974bc2e30 --- /dev/null +++ b/testing/kconfig/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kconfig +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Configuration system" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.1-or-later" +makedepends="extra-cmake-modules qt5-qttools-dev doxygen" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" # Fails due to requiring running X11 + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="bdcd7b28734406ea5bc8e323659cae99754ca0da799a97d20a0e56ae74386cbec9bdaa447ab1b445bf137dfe928bece0c28a7630a1856eee9d822e6b01783c19 kconfig-5.58.0.tar.xz" |