3d0b44dded
Built and tested on x86_64, everything works as expected. [ci:skip-build]: ollieparanoid made sure, that this builds for all relevant arches. With crossdirect, so that means it is pretty stable now \o/
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kirigami2
|
|
pkgver=5.57.0
|
|
pkgrel=0
|
|
pkgdesc="A QtQuick based components set"
|
|
arch="all"
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL"
|
|
depends="qt5-qtgraphicaleffects"
|
|
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kpackage-dev kcoreaddons-dev kservice-dev kconfig-dev kwindowsystem-dev"
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-lang"
|
|
options="!check"
|
|
builddir="$srcdir/$pkgname-$pkgver/build"
|
|
|
|
prepare() {
|
|
mkdir "$builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_EXAMPLES=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="10631cd367a5f55c09f1fba1488ba43b1e2146138e8dfb1d15d36868dbfff3ae06c3d111290b0fa118db9248c166d2aa2c13a95ed07ed0424ee059cb0d1fafe3 kirigami2-5.57.0.tar.xz"
|