Initial upload: pyfan 1.2-1

This commit is contained in:
2019-10-04 11:01:09 +02:00
parent b8bc65dd41
commit 6164fba088
2 changed files with 39 additions and 0 deletions

23
pyfan/PKGBUILD Normal file
View File

@@ -0,0 +1,23 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=pyfan
pkgver=1.2
pkgrel=1
pkgdesc="Fan control utilising hwmon and pid"
arch=('any')
url="https://git.harting.dev/IdleGandalf/PyFan"
license=('GPL')
depends=('python-yaml' 'python-simple-pid')
optdepends=('lm_sensors: check and load required hwmon modules')
backup=('etc/pyfan')
source=("https://git.harting.dev/IdleGandalf/PyFan/archive/$pkgver.tar.gz")
sha256sums=('b054e26a6dc4e4000bc9509fb04ae9ad860d7053fb0eec9505bbc46fce4820ff')
package() {
cd "$pkgname"
install -Dm755 pyfan.py "${pkgdir}/usr/sbin/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"
install -Dm644 README.md "${pkgdir}/usr/share/doc/$pkgname/README"
}