upgpkg: pyfan 1.6.1-3
add git to makedeps; switch to correct dir
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
pkgbase = pyfan
|
||||
pkgdesc = Fan control utilising hwmon and pid
|
||||
pkgver = 1.6.1
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://somegit.dev/anonfunc/PyFan
|
||||
arch = any
|
||||
license = GPL-3.0-or-later
|
||||
makedepends = git
|
||||
depends = python-yaml
|
||||
depends = python-simple-pid
|
||||
optdepends = lm_sensors: check and load required hwmon modules
|
||||
|
@@ -2,19 +2,20 @@
|
||||
|
||||
pkgname=pyfan
|
||||
pkgver=1.6.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='Fan control utilising hwmon and pid'
|
||||
arch=(any)
|
||||
url='https://somegit.dev/anonfunc/PyFan'
|
||||
license=(GPL-3.0-or-later)
|
||||
depends=(python-yaml python-simple-pid)
|
||||
makedepends=(git)
|
||||
optdepends=('lm_sensors: check and load required hwmon modules')
|
||||
backup=('etc/pyfan')
|
||||
source=("git+$url.git#tag=$pkgver")
|
||||
b2sums=('5189d5d450dddb14ea93ee8d4d157fdd12ea8425b55ce3af9661e501d963b1ebc5bd344a52965b6fb906b77f900d2fdf20a3cdf08434ac3ddb6829544df3884d')
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
cd PyFan
|
||||
install -Dm755 pyfan.py "$pkgdir"/usr/bin/pyfan.py
|
||||
install -Dm644 pyfan.service "$pkgdir"/usr/lib/systemd/system/pyfan.service
|
||||
install -Dm644 config-example.yaml "$pkgdir"/usr/share/doc/$pkgname/config-example.yaml
|
||||
|
Reference in New Issue
Block a user