33 lines
906 B
Bash
33 lines
906 B
Bash
# Contributor: Tim <timstanleydev@gmail.com>
|
|
# Maintainer: Tim <timstanleydev@gmail.com>
|
|
pkgname=ebusd
|
|
pkgver=23.2
|
|
pkgrel=0
|
|
pkgdesc="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/${pkgname}/archive/refs/tags/${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="
|
|
3cb1aab16aa4ad596138e48fb1df030f986f948a87db8608fd184b582077d86b818c5b18cfa59e5a538191f3aa25787dadcb3bc5fd325728cdab77371d86d719 ebusd-23.1.tar.gz
|
|
"
|