pkgname=fantasize pkgver=0.1.0 pkgrel=1 pkgdesc='C++ fan control for Linux' url='https://github.com/Tabascl/fantasize.git' source=("$pkgname-$pkgver.tar.gz::https://github.com/Tabascl/fantasize/archive/v$pkgver.tar.gz") backup=("etc/fantasize/fans.json") arch=('x86_64') license=('GPL3') makedepends=('git' 'cmake' 'nlohmann-json' 'boost' 'cuda') sha256sums=('ce998dabe4e88ee6b6a4ab99ad7afbf90fad98f47972fac658e26cc95a17d061') build() { cmake -S "$pkgname-$pkgver/app" -B build -DCMAKE_BUILD_TYPE=Release cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }