summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33f867e36c3286d74d6275024ca656eb51315774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Ninso112
pkgname=fanwhy
pkgver=0.1.0
pkgrel=1
pkgdesc="A lightweight CLI tool to understand why Linux system fans are spinning up"
arch=('any')
url="https://github.com/Ninso112/fanwhy"
license=('GPL3')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Ninso112/fanwhy/archive/refs/heads/main.tar.gz")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$pkgname-main"
  python -m build --wheel --no-isolation
}

package() {
  cd "$srcdir/$pkgname-main"
  python -m installer --destdir="$pkgdir" dist/*.whl
}