From b5702c936c88330c565bf9cd802724d744769116 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 2 Feb 2025 14:40:01 +0100 Subject: [PATCH] upgpkg: pyfan 1.6.1-3 add git to makedeps; switch to correct dir --- pyfan/.SRCINFO | 3 ++- pyfan/PKGBUILD | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pyfan/.SRCINFO b/pyfan/.SRCINFO index afa1406..d879d4b 100644 --- a/pyfan/.SRCINFO +++ b/pyfan/.SRCINFO @@ -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 diff --git a/pyfan/PKGBUILD b/pyfan/PKGBUILD index 3a5d172..f753be2 100644 --- a/pyfan/PKGBUILD +++ b/pyfan/PKGBUILD @@ -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