-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert the PKGBUILD temporarily since it's blocking the build
and fix the broken tests, will have to redo how the commands are put togther, however this will work for now.
- Loading branch information
Showing
2 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Maintainer: Jason McGillivray < mcgillivray dot jason at gmail dot com> | ||
|
||
|
||
pkgname=amdfan | ||
pkgdesc="Python daemon for controlling the fans on amdgpu cards" | ||
pkgver=0.2.0 | ||
pkgrel=1 | ||
arch=('any') | ||
license=('GPL2') | ||
depends=('python' 'python-yaml' 'python-numpy' 'python-rich' 'python-click') | ||
makedepends=('python-poetry-core' 'python-build' 'python-installer') | ||
url="https://github.com/mcgillij/amdfan" | ||
source=("https://github.com/mcgillij/amdfan/releases/download/$pkgver/amdfan-$pkgver.tar.gz") | ||
#source=("amdfan-$pkgver.tar.gz") | ||
md5sums=('58db7ccf6255d4866efc75cc9c89a66a') | ||
|
||
build() { | ||
cd "$srcdir/$pkgname-$pkgver" | ||
python -m build --wheel --no-isolation | ||
} | ||
|
||
package() { | ||
cd "$srcdir/$pkgname-$pkgver" | ||
python -m installer --destdir="$pkgdir" dist/*.whl | ||
mkdir -p "$pkgdir/usr/lib/systemd/system" | ||
install -Dm644 src/amdfan/amdfan.service "$pkgdir/usr/lib/systemd/system/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters