2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=mauikit
|
2019-01-07 18:35:11 +00:00
|
|
|
pkgver=0_git20190105
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
2019-01-07 18:35:11 +00:00
|
|
|
_commit="deca06385464ebb27cc7ab51ffd36ae534a7c3f3"
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgdesc="Kit for developing MAUI Apps"
|
|
|
|
arch="all"
|
2019-01-07 18:35:11 +00:00
|
|
|
url="https://github.com/mauikit/mauikit"
|
2018-10-08 06:50:31 +00:00
|
|
|
license="unknown"
|
|
|
|
depends=""
|
2019-01-07 18:35:11 +00:00
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev qt5-qtwebengine-dev ki18n-dev knotifications-dev kconfig-dev kservice-dev kio-dev"
|
2018-10-08 06:50:31 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
2019-01-07 18:35:11 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/mauikit/$pkgname/archive/$_commit.tar.gz"
|
2018-10-08 06:50:31 +00:00
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DKDE_INSTALL_LIBEXECDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-01-07 18:35:11 +00:00
|
|
|
sha512sums="f530dd2bb9c6b1cc03ebf9d857b914dbec6bc08a8ef35a01f04ba955e883d428c2e29f9d49f27c4d3afa33a46a06c1167a7dc97e53ee22567f64660190d55da5 mauikit-deca06385464ebb27cc7ab51ffd36ae534a7c3f3.tar.gz"
|