Files
fantasize/PKGBUILD
2022-10-02 14:34:01 +02:00

20 lines
582 B
Bash

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/refs/tags/v$pkgver.tar.gz")
arch=('x86_64')
license=('GPL3')
makedepends=('git' 'cmake' 'nlohmann-json' 'boost' 'cuda')
sha256sums=('4c924101286d93ad39f453e8189a58ed4488069721af4e4fb00d4b517bb6a5ce')
build() {
cmake -S "$pkgname-$pkgver/app" -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
}
package() {
cmake --install build --prefix "$pkgdir/" --verbose
}