diff options
Diffstat (limited to 'community/kdeclarative/APKBUILD')
-rw-r--r-- | community/kdeclarative/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kdeclarative/APKBUILD b/community/kdeclarative/APKBUILD new file mode 100644 index 0000000000..95a516d235 --- /dev/null +++ b/community/kdeclarative/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kdeclarative +pkgver=5.60.0 +pkgrel=0 +pkgdesc="Provides integration of QML and KDE Frameworks" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-or-later" +depends_dev="qt5-qtdeclarative-dev kconfig-dev ki18n-dev kiconthemes-dev kio-dev kwidgetsaddons-dev kwindowsystem-dev kglobalaccel-dev kguiaddons-dev kpackage-dev libepoxy-dev" +makedepends="$depends_dev extra-cmake-modules 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="37bb343a615dd5d1c273926dc448214089cd40bb05fd15f772cb3bdcb312a5dfdb32256bc288a2051025e4853554fa2b7b7d105657a9f90385092edc1ec83705 kdeclarative-5.60.0.tar.xz" |