diff options
author | Giovanni Harting | 2019-10-04 11:01:09 +0200 |
---|---|---|
committer | Giovanni Harting | 2019-10-04 11:01:09 +0200 |
commit | 3f154d3b6ad0814142cb2921d19f17b53a397e88 (patch) | |
tree | d5f8d7afd48263873faaeb2fb431ccefe612bacf | |
download | aur-3f154d3b6ad0814142cb2921d19f17b53a397e88.tar.gz |
Initial upload: pyfan 1.2-1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..64e86c17c514 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = pyfan + pkgdesc = Fan control utilising hwmon and pid + pkgver = 1.2 + pkgrel = 1 + url = https://git.harting.dev/IdleGandalf/PyFan + arch = any + license = GPL + depends = python-yaml + depends = python-simple-pid + optdepends = lm_sensors: check and load required hwmon modules + backup = etc/pyfan + source = https://git.harting.dev/IdleGandalf/PyFan/archive/1.2.tar.gz + sha256sums = b054e26a6dc4e4000bc9509fb04ae9ad860d7053fb0eec9505bbc46fce4820ff + +pkgname = pyfan + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..23f439390bc6 --- /dev/null +++ b/PKGBUILD @@ -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" +} |