kde/qmlkonsole: upgrade to 0_git20200128 (!909)

This commit is contained in:
Bart Ribbers 2020-01-28 17:54:33 +01:00 committed by Alexey Min
parent b11e1f0e38
commit a828df78e1
No known key found for this signature in database
GPG key ID: 463F84201DACD7B9

View file

@ -1,42 +1,29 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qmlkonsole
pkgver=0_git20190224
pkgrel=1
_commit="eac8318020e3881dac6d930fefd278b1f4a98617"
pkgver=0_git20200128
pkgrel=0
_commit="78e4277efde0d0a58f0ff6244038f680dd6c572c"
pkgdesc="Terminal app for Plasma Mobile"
arch="all"
url="https://invent.kde.org/jbbgameich/qmlkonsole"
license="GPL-3.0-or-later"
depends="qmltermwidget"
depends="qmltermwidget kirigami2 qt5-qtquickcontrols"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev"
source="https://invent.kde.org/jbbgameich/qmlkonsole/-/archive/$_commit/qmlkonsole-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
cmake -B "$builddir"/build \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
make -C build
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
DESTDIR="$pkgdir" make -C build install
}
sha512sums="578906c656c04f89bd632d2c2638e955d2f72893073f19c7c7a14b7944f91268ae349d158e5117c9e8089fab798243a2a65469e3972aeb36df988b5219e26ded qmlkonsole-eac8318020e3881dac6d930fefd278b1f4a98617.tar.gz"
sha512sums="ad2592b3d28538293602b7228a049840d782ead51e709e1f8b6f463c93d7088783f53a0c34c5b55f895e28b2c6dde2bc3ef1b2c1de26a503054a15e973a785d1 qmlkonsole-78e4277efde0d0a58f0ff6244038f680dd6c572c.tar.gz"