2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=mauikit
|
2019-05-14 22:30:36 +00:00
|
|
|
pkgver=0_git20190423
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
2019-05-14 22:30:36 +00:00
|
|
|
_commit="76895b879db16b38bd017bed7998ddf2b6c025e6"
|
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"
|
2019-05-14 22:30:36 +00:00
|
|
|
license="GPL-2.0+ GPL-3.0+"
|
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 \
|
2019-02-11 13:36:33 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2018-10-08 06:50:31 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-05-14 22:30:36 +00:00
|
|
|
sha512sums="a5342b708ccaa9ecc8e3c84df839939ac52bb8cf8ea5813b14ad5403f92c443a2e35539849a5797dddaaa49e4bed93b6a4a2cd6ba477bf1c75e0575b8e622433 mauikit-76895b879db16b38bd017bed7998ddf2b6c025e6.tar.gz"
|