pmaports/main/mauikit/APKBUILD

32 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mauikit
pkgver=0_git20190619
pkgrel=0
_commit="3818cce2e8f25c38f5bdb67458f794144c223e47"
pkgdesc="Kit for developing MAUI Apps"
arch="all"
url="https://invent.kde.org/kde/mauikit"
license="GPL-2.0-or-later"
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://invent.kde.org/kde/$pkgname/-/archive/$_commit.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="f61213a61b3be595ed973c9c11468306657b32c71378d25a1dab2e4587baeb146092d29e3f91d2bd9fcc8238325f6ca2751bcedcc1e23d0932d5897eaf4ab571 mauikit-3818cce2e8f25c38f5bdb67458f794144c223e47.tar.gz"