2019-02-11 16:26:08 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=qmlkonsole
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgver=0_git20190224
|
2019-09-07 21:43:42 +00:00
|
|
|
pkgrel=1
|
2019-05-21 15:09:25 +00:00
|
|
|
_commit="eac8318020e3881dac6d930fefd278b1f4a98617"
|
2019-02-11 16:26:08 +00:00
|
|
|
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"
|
2019-09-07 21:43:42 +00:00
|
|
|
source="https://invent.kde.org/jbbgameich/qmlkonsole/-/archive/$_commit/qmlkonsole-$_commit.tar.gz"
|
|
|
|
options="!check" # No tests
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2019-02-11 16:26:08 +00:00
|
|
|
|
|
|
|
prepare() {
|
2019-09-07 21:43:42 +00:00
|
|
|
default_prepare
|
|
|
|
|
|
|
|
mkdir "$builddir"/build
|
2019-02-11 16:26:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-09-07 21:43:42 +00:00
|
|
|
cd "$builddir"/build
|
|
|
|
cmake "$builddir" \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2019-02-11 16:26:08 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-09-07 21:43:42 +00:00
|
|
|
cd "$builddir"/build
|
2019-02-11 16:26:08 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-09-07 21:43:42 +00:00
|
|
|
cd "$builddir"/build
|
2019-02-11 16:26:08 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
|
|
|
}
|
|
|
|
|
2019-05-21 15:09:25 +00:00
|
|
|
sha512sums="578906c656c04f89bd632d2c2638e955d2f72893073f19c7c7a14b7944f91268ae349d158e5117c9e8089fab798243a2a65469e3972aeb36df988b5219e26ded qmlkonsole-eac8318020e3881dac6d930fefd278b1f4a98617.tar.gz"
|