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_git20190105
pkgrel=0
_commit="9476213a11e16c6155c324fa4a21190369464bad"
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/qmlkonsole/-/archive/9476213a11e16c6155c324fa4a21190369464bad/qmlkonsole-9476213a11e16c6155c324fa4a21190369464bad.tar.gz"
builddir="$srcdir/$pkgname-$_commit/build"
prepare() {
mkdir "$builddir"
}
build() {
cd "$builddir"
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="3adade1839da9ab395c79645036cf9ef6ae481c644926f5bfcf8f7cb53a89790d207442aae0ca0d68d28fb207187f57e76a6ea0031d309f6b8cda09b7629cf81 qmlkonsole-9476213a11e16c6155c324fa4a21190369464bad.tar.gz"