diff options
Diffstat (limited to 'community/kconfigwidgets/APKBUILD')
-rw-r--r-- | community/kconfigwidgets/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kconfigwidgets/APKBUILD b/community/kconfigwidgets/APKBUILD new file mode 100644 index 0000000000..561b0519d5 --- /dev/null +++ b/community/kconfigwidgets/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kconfigwidgets +pkgver=5.60.0 +pkgrel=0 +pkgdesc="Widgets for KConfig" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only AND LGPL-2.1-or-later" +depends_dev="kauth-dev kcoreaddons-dev kcodecs-dev kconfig-dev kguiaddons-dev ki18n-dev kwidgetsaddons-dev" +makedepends="$depends_dev extra-cmake-modules kdoctools-dev doxygen qt5-qttools-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="393e9cc775ce8e8046927fd0c1d0ab55116ce104f6b053044cc043cc7ad5835a9191900c21007779e9b97bf584cf72298cd66486cd2b11fe474f0ddea37c26cc kconfigwidgets-5.60.0.tar.xz" |