diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-05 10:41:44 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-05 10:41:44 -0300 |
commit | 957557945e9be0a00d5153afc17f69ffe751426f (patch) | |
tree | 4d321dff70c4fdd1ee3fa5d64db0fdd0dc1dd2e8 /extra/hddtemp | |
parent | cbba2111ae585b17594535ec01f13bac66937331 (diff) | |
parent | 67db4cf68dbdb364c4dee1599294d7701f3c3b0a (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/collectd/PKGBUILD
community/exim/PKGBUILD
community/nsd/PKGBUILD
extra/phonon-vlc/PKGBUILD
Diffstat (limited to 'extra/hddtemp')
-rw-r--r-- | extra/hddtemp/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/hddtemp/hddtemp.service | 9 |
2 files changed, 14 insertions, 3 deletions
diff --git a/extra/hddtemp/PKGBUILD b/extra/hddtemp/PKGBUILD index 4a92dc4bd..fca527229 100644 --- a/extra/hddtemp/PKGBUILD +++ b/extra/hddtemp/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 150841 2012-02-23 12:31:37Z ibiru $ +# $Id: PKGBUILD 160663 2012-06-03 10:40:04Z bisson $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Roman Kyrylych <roman@archlinux.org> @@ -8,7 +8,7 @@ pkgname=hddtemp pkgver=0.3.beta15.46 _origver=0.3-beta15 _patchver=46 -pkgrel=2 +pkgrel=3 pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information" arch=('i686' 'x86_64' 'mips64el') url="http://www.guzu.net/linux/hddtemp.php" @@ -17,10 +17,11 @@ depends=('glibc') backup=('etc/conf.d/hddtemp') source=(http://www.guzu.net/files/hddtemp-${_origver}.tar.bz2 http://ftp.debian.org/debian/pool/main/h/hddtemp/hddtemp_${_origver}-${_patchver}.diff.gz - 'hddtemp' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch') + 'hddtemp' 'hddtemp.service' 'hddtemp.confd' 'hddtemp-0.3-beta15-reg-eip.patch') md5sums=('8b829339e1ae9df701684ec239021bb8' '040437845e28771c560b4bb40e41f933' 'b7ebb86dfeef3bc4577ed1040307e36b' + 'b6767bdbb03b6cdbc1995418cafdb1e1' 'fdca5c43900406f0be76534ef2a5a697' '526ef28549dd0da7e38d32cfc8523592') options=('!libtool') @@ -42,5 +43,6 @@ package() { install -D -m644 "$srcdir/$pkgname-${_origver}/debian/hddtemp.db" \ "$pkgdir/usr/share/${pkgname}/hddtemp.db" install -D -m644 "$srcdir/hddtemp.confd" "$pkgdir/etc/conf.d/hddtemp" + install -D -m644 "$srcdir/hddtemp.service" "$pkgdir/usr/lib/systemd/system/hddtemp.service" install -D -m755 "$srcdir/hddtemp" "$pkgdir/etc/rc.d/hddtemp" } diff --git a/extra/hddtemp/hddtemp.service b/extra/hddtemp/hddtemp.service new file mode 100644 index 000000000..bc56d16b0 --- /dev/null +++ b/extra/hddtemp/hddtemp.service @@ -0,0 +1,9 @@ +[Unit] +Description=Hard drive temperature monitor daemon + +[Service] +EnvironmentFile=/etc/conf.d/hddtemp +ExecStart=/usr/sbin/hddtemp -dF $PARAMS $DRIVES + +[Install] +WantedBy=multi-user.target |