summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordesbma2017-02-25 20:32:18 +0100
committerdesbma2017-02-25 20:32:18 +0100
commitbd6208ac5aae1d53c9422b28d6ce7e7d76e1546b (patch)
tree832e5ff04e4dfe3b24f032a8adaecae507c69948
parent4a9a9715c955823dcd2247664df53ab236c5a3e7 (diff)
downloadaur-bd6208ac5aae1d53c9422b28d6ce7e7d76e1546b.tar.gz
Rename package + release 1.2.7
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD18
2 files changed, 16 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b5d1f01ffd2..cccfce8b75a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
-pkgbase = python-hddfancontrol
+pkgbase = hddfancontrol
pkgdesc = Regulate fan speed according to hard drive temperature
- pkgver = 1.2.6
- pkgrel = 2
+ pkgver = 1.2.7
+ pkgrel = 1
url = https://github.com/desbma/hddfancontrol
arch = any
license = GPL
@@ -10,9 +10,10 @@ pkgbase = python-hddfancontrol
depends = python-daemon
depends = hdparm
depends = hddtemp
+ replaces = python-hddfancontrol
backup = etc/conf.d/hddfancontrol
- source = hddfancontrol-1.2.6.tar.gz::https://github.com/desbma/hddfancontrol/archive/1.2.6.tar.gz
- md5sums = 84bfc9c067bda938a5db519cedd7ff83
+ source = hddfancontrol-1.2.7.tar.gz::https://github.com/desbma/hddfancontrol/archive/1.2.7.tar.gz
+ md5sums = 2a0eb2b48e2f008f7b48808c069a24f0
-pkgname = python-hddfancontrol
+pkgname = hddfancontrol
diff --git a/PKGBUILD b/PKGBUILD
index a1cd77a36097..8a064948cb7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,25 @@
# Maintainer: desbma
-pkgname=python-hddfancontrol
-pkgver=1.2.6
-pkgrel=2
+pkgname=hddfancontrol
+pkgver=1.2.7
+pkgrel=1
pkgdesc="Regulate fan speed according to hard drive temperature"
arch=('any')
-_gitname='hddfancontrol'
-url="https://github.com/desbma/${_gitname}"
+url="https://github.com/desbma/${pkgname}"
license=('GPL')
depends=('python' 'python-daemon' 'hdparm' 'hddtemp')
+replaces=('python-hddfancontrol')
makedepends=('python-setuptools')
backup=('etc/conf.d/hddfancontrol')
-source=("${_gitname}-${pkgver}.tar.gz::https://github.com/desbma/${_gitname}/archive/${pkgver}.tar.gz")
-md5sums=('84bfc9c067bda938a5db519cedd7ff83')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/desbma/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('2a0eb2b48e2f008f7b48808c069a24f0')
check() {
- cd "${_gitname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
python setup.py test
}
package() {
- cd "${_gitname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}"
install -Dm 644 systemd/hddfancontrol.service "$pkgdir/usr/lib/systemd/system/hddfancontrol.service"
install -Dm 644 systemd/hddfancontrol.conf "$pkgdir/etc/conf.d/hddfancontrol"