09ce31ca20
[skip ci]: too many packages changed, build won't finish in time. ollieparanoid made sure that this builds for x86_64, aarch64, armhf, armv7. Also he tested that this boots up in qemu-amd64.
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=mauikit
|
|
pkgver=0_git20190105
|
|
pkgrel=0
|
|
_commit="deca06385464ebb27cc7ab51ffd36ae534a7c3f3"
|
|
pkgdesc="Kit for developing MAUI Apps"
|
|
arch="all"
|
|
url="https://github.com/mauikit/mauikit"
|
|
license="unknown"
|
|
depends=""
|
|
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"
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/mauikit/$pkgname/archive/$_commit.tar.gz"
|
|
subpackages="$pkgname-dev"
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="f530dd2bb9c6b1cc03ebf9d857b914dbec6bc08a8ef35a01f04ba955e883d428c2e29f9d49f27c4d3afa33a46a06c1167a7dc97e53ee22567f64660190d55da5 mauikit-deca06385464ebb27cc7ab51ffd36ae534a7c3f3.tar.gz"
|