diff --git a/pyfan/.SRCINFO b/pyfan/.SRCINFO index 3ceb0ba..dfcf33e 100644 --- a/pyfan/.SRCINFO +++ b/pyfan/.SRCINFO @@ -4,12 +4,12 @@ pkgbase = pyfan pkgrel = 1 url = https://somegit.dev/anonfunc/PyFan arch = any - license = GPL3 + license = GPL-3.0-or-later depends = python-yaml depends = python-simple-pid optdepends = lm_sensors: check and load required hwmon modules backup = etc/pyfan - source = https://somegit.dev/anonfunc/PyFan/archive/1.6.1.tar.gz + source = pyfan-1.6.1.tar.gz::https://somegit.dev/anonfunc/PyFan/archive/1.6.1.tar.gz b2sums = c7ff904568196657c78acb1d690b3437b6a5e0cd2eb3355988b618426d6a225e357d26bbe060cf70363114d46ce9d55559d0396f2d793168ddc008a789416f26 pkgname = pyfan diff --git a/pyfan/PKGBUILD b/pyfan/PKGBUILD index 415892f..6d09c2d 100644 --- a/pyfan/PKGBUILD +++ b/pyfan/PKGBUILD @@ -3,22 +3,22 @@ pkgname=pyfan pkgver=1.6.1 pkgrel=1 -pkgdesc="Fan control utilising hwmon and pid" +pkgdesc='Fan control utilising hwmon and pid' arch=(any) -url="https://somegit.dev/anonfunc/PyFan" -license=(GPL3) +url='https://somegit.dev/anonfunc/PyFan' +license=(GPL-3.0-or-later) depends=(python-yaml python-simple-pid) optdepends=('lm_sensors: check and load required hwmon modules') backup=('etc/pyfan') -source=("https://somegit.dev/anonfunc/PyFan/archive/$pkgver.tar.gz") +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") b2sums=('c7ff904568196657c78acb1d690b3437b6a5e0cd2eb3355988b618426d6a225e357d26bbe060cf70363114d46ce9d55559d0396f2d793168ddc008a789416f26') package() { - cd "$pkgname" - 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" - install -Dm644 README.md "${pkgdir}/usr/share/doc/$pkgname/README" + cd $pkgname + 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 + install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README } # vim:set ts=2 sw=2 et: