pmaports/kde/qmlkonsole/APKBUILD

28 lines
1 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qmlkonsole
pkgver=0_git20200618
pkgrel=0
_commit="937e07137847e58626f100116103451902cd210f"
pkgdesc="Terminal app for Plasma Mobile"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://invent.kde.org/jbbgameich/qmlkonsole"
license="GPL-3.0-or-later"
depends="qmltermwidget kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev ki18n-dev"
source="https://invent.kde.org/plasma-mobile/qmlkonsole/-/archive/$_commit/qmlkonsole-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="f71558cf5f0cf584cd41cf47704586c7632a9a5417869f5c39b99b6f9cc0096b7c7e1b1df001a9e8fbaaa1c4f0c321b0f7491f5871893e0a89d6a870af25c399 qmlkonsole-937e07137847e58626f100116103451902cd210f.tar.gz"