diff options
Diffstat (limited to 'community/kdesignerplugin/APKBUILD')
-rw-r--r-- | community/kdesignerplugin/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kdesignerplugin/APKBUILD b/community/kdesignerplugin/APKBUILD new file mode 100644 index 0000000000..d096f9decd --- /dev/null +++ b/community/kdesignerplugin/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kdesignerplugin +pkgver=5.60.0 +pkgrel=0 +pkgdesc="Integration of Frameworks widgets in Qt Designer/Creator" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only" +depends_dev="kcoreaddons-dev kconfig-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev kio-dev kitemviews-dev kplotting-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev sonnet-dev" +makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev kdoctools-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 + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="994463669a7996894acd2526f8931ec3081ab801dfc690f2895c9d24c0342ea3f667666e47c0da5ed5a9ae232c7425a7f23aa02792d00eecae71ac8fa6cf4375 kdesignerplugin-5.60.0.tar.xz" |