pmaports/main/mauikit/APKBUILD

35 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_git20190423
2018-10-08 06:50:31 +00:00
pkgrel=0
_commit="76895b879db16b38bd017bed7998ddf2b6c025e6"
2018-10-08 06:50:31 +00:00
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"
2018-10-08 06:50:31 +00:00
makedepends="$depends_dev extra-cmake-modules"
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 \
-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
}
sha512sums="a5342b708ccaa9ecc8e3c84df839939ac52bb8cf8ea5813b14ad5403f92c443a2e35539849a5797dddaaa49e4bed93b6a4a2cd6ba477bf1c75e0575b8e622433 mauikit-76895b879db16b38bd017bed7998ddf2b6c025e6.tar.gz"