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
|
2019-02-11 13:36:33 +00:00
|
|
|
pkgver=5.55.0
|
2018-05-13 23:52:43 +00:00
|
|
|
pkgrel=0
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="A QtQuick based components set"
|
2017-11-26 17:08:10 +00:00
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://community.kde.org/Frameworks"
|
2017-11-26 17:08:10 +00:00
|
|
|
license="LGPL"
|
|
|
|
depends="qt5-qtgraphicaleffects"
|
2019-02-11 13:36:33 +00:00
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kpackage-dev kcoreaddons-dev kservice-dev kconfig-dev kwindowsystem-dev"
|
2017-11-26 17:08:10 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
|
2019-02-11 13:36:33 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
2017-11-26 17:08:10 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-lang"
|
|
|
|
options="!check"
|
2019-02-11 13:36:33 +00:00
|
|
|
builddir="$srcdir/$pkgname-$pkgver/build"
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
2019-02-11 13:36:33 +00:00
|
|
|
cmake .. \
|
2017-11-26 17:08:10 +00:00
|
|
|
-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
|
|
|
|
}
|
2019-02-11 13:36:33 +00:00
|
|
|
sha512sums="b63521e1d5e057f40299b3e54791b7bc408a30757ba6261c9a92ff76314e12e008b09bbe417b0c8d6752ee3b962c7dfd188f474e054572a4871d3ddfcf3ea1e9 kirigami2-5.55.0.tar.xz"
|