upgpkg: pyfan 1.6.1-3

add git to makedeps; switch to correct dir
This commit is contained in:
2025-02-02 14:40:01 +01:00
parent d10519574f
commit b5702c936c
2 changed files with 5 additions and 3 deletions

View File

@@ -1,10 +1,11 @@
pkgbase = pyfan pkgbase = pyfan
pkgdesc = Fan control utilising hwmon and pid pkgdesc = Fan control utilising hwmon and pid
pkgver = 1.6.1 pkgver = 1.6.1
pkgrel = 2 pkgrel = 3
url = https://somegit.dev/anonfunc/PyFan url = https://somegit.dev/anonfunc/PyFan
arch = any arch = any
license = GPL-3.0-or-later license = GPL-3.0-or-later
makedepends = git
depends = python-yaml depends = python-yaml
depends = python-simple-pid depends = python-simple-pid
optdepends = lm_sensors: check and load required hwmon modules optdepends = lm_sensors: check and load required hwmon modules

View File

@@ -2,19 +2,20 @@
pkgname=pyfan pkgname=pyfan
pkgver=1.6.1 pkgver=1.6.1
pkgrel=2 pkgrel=3
pkgdesc='Fan control utilising hwmon and pid' pkgdesc='Fan control utilising hwmon and pid'
arch=(any) arch=(any)
url='https://somegit.dev/anonfunc/PyFan' url='https://somegit.dev/anonfunc/PyFan'
license=(GPL-3.0-or-later) license=(GPL-3.0-or-later)
depends=(python-yaml python-simple-pid) depends=(python-yaml python-simple-pid)
makedepends=(git)
optdepends=('lm_sensors: check and load required hwmon modules') optdepends=('lm_sensors: check and load required hwmon modules')
backup=('etc/pyfan') backup=('etc/pyfan')
source=("git+$url.git#tag=$pkgver") source=("git+$url.git#tag=$pkgver")
b2sums=('5189d5d450dddb14ea93ee8d4d157fdd12ea8425b55ce3af9661e501d963b1ebc5bd344a52965b6fb906b77f900d2fdf20a3cdf08434ac3ddb6829544df3884d') b2sums=('5189d5d450dddb14ea93ee8d4d157fdd12ea8425b55ce3af9661e501d963b1ebc5bd344a52965b6fb906b77f900d2fdf20a3cdf08434ac3ddb6829544df3884d')
package() { package() {
cd $pkgname cd PyFan
install -Dm755 pyfan.py "$pkgdir"/usr/bin/pyfan.py install -Dm755 pyfan.py "$pkgdir"/usr/bin/pyfan.py
install -Dm644 pyfan.service "$pkgdir"/usr/lib/systemd/system/pyfan.service install -Dm644 pyfan.service "$pkgdir"/usr/lib/systemd/system/pyfan.service
install -Dm644 config-example.yaml "$pkgdir"/usr/share/doc/$pkgname/config-example.yaml install -Dm644 config-example.yaml "$pkgdir"/usr/share/doc/$pkgname/config-example.yaml