aboutsummaryrefslogblamecommitdiffstats
path: root/testing/kitemmodels/APKBUILD
blob: ee0cb88bc4bb5d8dbb2e8cbffcbb06af55f77c67 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                      
                       

                                                                                        










                                                     
                                                   





                                                                                                                                                                        
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kitemmodels
pkgver=5.58.0
pkgrel=0
pkgdesc="Models for Qt Model/View system"
arch="all"
url="https://community.kde.org/Frameworks"
license="LGPL-2.0-only AND LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-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="10f6af35a689a22106bc3df2eb7c069251c8ed61fc665cef224d861d8551805d0fdcf0c22a2b0d44fd5d2e4f7a94283d06a92dbb6b648bfa5a71bb63b873a87b  kitemmodels-5.58.0.tar.xz"