diff options
Diffstat (limited to 'testing/kitemviews')
-rw-r--r-- | testing/kitemviews/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kitemviews/APKBUILD b/testing/kitemviews/APKBUILD new file mode 100644 index 0000000000..f984f7830e --- /dev/null +++ b/testing/kitemviews/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kitemviews +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Widget addons for Qt Model/View" +arch="all" +url="https://community.kde.org/Frameworks" +license="GPL-2.0-only AND LGPL-2.1-only" +depends_dev="qt5-qtbase-dev" +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="fe08b97c3b698ee4cad96cfff6907b88f6c77841619abff4caf2f949d4e9379860a0e5c0be6ace4b573b0efd9dfab2dda10ee4856b5ea99e8a8be836444f048f kitemviews-5.58.0.tar.xz" |