# Contributor: Tim # Maintainer: Tim pkgname=ebusd pkgver=22.1 pkgrel=1 pkgdesc="ebusd, the daemon for communication with eBUS heating systems." url="https://github.com/john30/ebusd" # Upstream only supports these archs. arch="x86 x86_64 aarch64 armhf armv7" license="GPL-3.0-only" makedepends="argp-standalone cmake mosquitto-dev openssl-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/john30/ebusd/archive/refs/tags/v$pkgver.tar.gz" build() { cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DBUILD_TESTING=ON cmake --build build } check() { ctest --output-on-failure --test-dir build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 11a084940e40a652597bd334639f6c6bd53d984ed8b543c5c9d79d6489ee9a770519940f7ab762becf0c553e174f305f74bc8096c47b6ebb45f9886d4141388a ebusd-22.1.tar.gz "