summaryrefslogtreecommitdiff
path: root/extra/smartmontools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
commit9e9ab642711f2424f828e21d14b98c45cdef2b29 (patch)
tree5c1495cfda2b453e377084bad1b20e431e119063 /extra/smartmontools
parentbc0657f7159d0b01373ecb59afc426b98a172b1e (diff)
Thu Dec 1 23:14:46 UTC 2011
Diffstat (limited to 'extra/smartmontools')
-rw-r--r--extra/smartmontools/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/extra/smartmontools/PKGBUILD b/extra/smartmontools/PKGBUILD
index bfa4c202e..eefec18e4 100644
--- a/extra/smartmontools/PKGBUILD
+++ b/extra/smartmontools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 141049 2011-10-22 14:30:55Z giovanni $
+# $Id: PKGBUILD 143965 2011-11-30 23:00:34Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Jani Talikka <jani.talikka@gmail.com>
@@ -6,17 +6,17 @@
pkgname=smartmontools
pkgver=5.42
-pkgrel=1
-pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives."
+pkgrel=2
+pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
url="http://smartmontools.sourceforge.net"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gcc-libs')
backup=('etc/smartd.conf'
'etc/conf.d/smartd')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz \
- smartd.conf
- smartd.rc)
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'smartd.conf'
+ 'smartd.rc')
md5sums=('4460bf9a79a1252ff5c00ba52cf76b2a'
'28c1b80c41dac52d433961dcfb4f70e0'
'fb30e07f87f2c1d99532e018291ad3e8')
@@ -34,6 +34,7 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir}/ install
+
rm -rf ${pkgdir}/etc/rc.d
install -Dm755 ${srcdir}/smartd.rc ${pkgdir}/etc/rc.d/smartd
install -Dm644 ${srcdir}/smartd.conf ${pkgdir}/etc/conf.d/smartd