2018-01-24 23:23:36 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgname=kirigami2
|
2018-06-11 21:52:16 +00:00
|
|
|
pkgver=5.47.0
|
2018-05-13 23:52:43 +00:00
|
|
|
pkgrel=0
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgdesc='A QtQuick based components set'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
|
|
|
license="LGPL"
|
|
|
|
depends="qt5-qtgraphicaleffects"
|
2018-05-02 23:22:54 +00:00
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev
|
2017-11-26 17:08:10 +00:00
|
|
|
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/build"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
cmake "$srcdir"/$pkgname-$pkgver \
|
|
|
|
-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
|
|
|
|
}
|
2018-06-11 21:52:16 +00:00
|
|
|
sha512sums="9c870ae2bfba2b7281eb054e834298c5f1be817156298b0908f526a0ce60773f8bf66b445b0b2d3631c05ed87be961cbf9abaa51a83d8bd9773d38f2bf374881 kirigami2-5.47.0.tar.xz"
|