diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ruqola/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/ruqola/APKBUILD b/testing/ruqola/APKBUILD new file mode 100644 index 0000000000..ab6d575aea --- /dev/null +++ b/testing/ruqola/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=ruqola +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Ruqola is a QML client for Rocket Chat " +url="https://github.com/kde/ruqola" +# armhf blocked by qt5-qtdeclarative-dev +arch="all !armhf" +license="GPL-2.0-only OR GPL-3.0-only" +depends="kirigami2" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebsockets-dev qt5-qtnetworkauth-dev qt5-qtkeychain-dev kirigami2-dev kcoreaddons-dev ki18n-dev kcrash-dev knotifications-dev syntax-highlighting-dev kdbusaddons-dev kxmlgui-dev kconfig-dev kio-dev sonnet-dev ktextwidgets-dev kuserfeedback-dev kdoctools-dev libsecret-dev" +checkdepends="xvfb-run" +source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/ruqola/archive/$pkgver.tar.gz" + +build() { + cmake -B "$builddir"/build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCOMPILE_RUQOLA_QML=TRUE + make -C build +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make -C build install +} + +sha512sums="4006e8b2cdc68950802e2ac4c30706c8f5d44bdd4e62b19c903b7e207f5cdd1e019bc9fcdae34e3568a9a01e761d130b66b4898e2dd49868daf38deb31a493c0 ruqola-1.0.0.tar.gz" |