# Maintainer: owe contributors pkgname=owe-lockfeed pkgver=0.2.9 pkgrel=1 pkgdesc="Lock screen video feed module for the OWE wallpaper engine" arch=('x86_64' 'aarch64') url="https://github.com/omacom/owe" license=('MIT') depends=('qt6-declarative') makedepends=('cmake' 'qt6-declarative') source=("$pkgname-$pkgver.tar.gz::https://github.com/omacom/owe/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('cbf55f6bf4ca88621a2e59b3a62b2b078e1c82c06437e1f5137fdaeb8b5b560a') build() { cmake -S "$srcdir/owe-$pkgver/qml-plugin" -B build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build }