pmaports/main/mauikit/APKBUILD

33 lines
1.1 KiB
Text
Raw Normal View History

2018-10-08 06:50:31 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mauikit
pkgver=0_git20190619
2018-10-08 06:50:31 +00:00
pkgrel=0
_commit="3818cce2e8f25c38f5bdb67458f794144c223e47"
2018-10-08 06:50:31 +00:00
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"
2018-10-08 06:50:31 +00:00
makedepends="$depends_dev extra-cmake-modules"
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$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=RelWithDebInfo \
2018-10-08 06:50:31 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
2018-10-08 06:50:31 +00:00
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
2018-10-08 06:50:31 +00:00
}
sha512sums="f61213a61b3be595ed973c9c11468306657b32c71378d25a1dab2e4587baeb146092d29e3f91d2bd9fcc8238325f6ca2751bcedcc1e23d0932d5897eaf4ab571 mauikit-3818cce2e8f25c38f5bdb67458f794144c223e47.tar.gz"