pmaports/main/mauikit/APKBUILD
Bart Ribbers e927feb4d5
main/maui*: update to latest git (!366)
Built and tested on x86_64, everything works as before.

[ci:skip-build]: ollieparanoid made sure that this builds for all
                 arches.
2019-05-18 02:21:55 +02:00

34 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mauikit
pkgver=0_git20190423
pkgrel=0
_commit="76895b879db16b38bd017bed7998ddf2b6c025e6"
pkgdesc="Kit for developing MAUI Apps"
arch="all"
url="https://github.com/mauikit/mauikit"
license="GPL-2.0+ GPL-3.0+"
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="a5342b708ccaa9ecc8e3c84df839939ac52bb8cf8ea5813b14ad5403f92c443a2e35539849a5797dddaaa49e4bed93b6a4a2cd6ba477bf1c75e0575b8e622433 mauikit-76895b879db16b38bd017bed7998ddf2b6c025e6.tar.gz"