blob: 9e05dea4c06e253b6524c5e3dae27f2067c702ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Andrea Orru <andrea at orru dot io>
# Contributor: Andrew Rabert <ar at nullsum dot net>
pkgname=python-undervolt
pkgver=0.4.0
pkgrel=2
pkgdesc="Undervolt Intel CPUs under Linux"
url="https://github.com/georgewhewell/undervolt"
arch=('any')
license=('GPL-2.0-or-later')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
conflicts=('undervolt')
source=("$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('d7a0bbb96e6acb998b7dd05cc41f8ccd82867bba0ac6e416b6e5b60fa3a55533')
build() {
cd undervolt-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd undervolt-$pkgver
PYTHONHASHSEED=0 python -m installer --destdir="$pkgdir" dist/*.whl
}
|