pmaports/kde/qmlkonsole/APKBUILD

39 lines
1.1 KiB
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qmlkonsole
pkgver=0_git20190224
pkgrel=0
_commit="eac8318020e3881dac6d930fefd278b1f4a98617"
pkgdesc="Terminal app for Plasma Mobile"
arch="all"
url="https://invent.kde.org/jbbgameich/qmlkonsole"
license="GPL-3.0-or-later"
depends="qmltermwidget"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev"
source="https://invent.kde.org/jbbgameich/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit/build"
prepare() {
mkdir "$builddir"
}
build() {
cd "$builddir"
cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="578906c656c04f89bd632d2c2638e955d2f72893073f19c7c7a14b7944f91268ae349d158e5117c9e8089fab798243a2a65469e3972aeb36df988b5219e26ded qmlkonsole-eac8318020e3881dac6d930fefd278b1f4a98617.tar.gz"