summaryrefslogtreecommitdiff
path: root/extra/smartmontools
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-14 22:59:43 +0000
committerroot <root@rshg047.dnsready.net>2011-06-14 22:59:43 +0000
commitba3afb3907fc927bd08713613d4a30a9479c715c (patch)
tree1f1353c475b7709a692e3d42a8ac9c2e0e8ad02a /extra/smartmontools
parent7c64c5039335c73eaa1a402c417235e8ca9a5109 (diff)
Tue Jun 14 22:59:43 UTC 2011
Diffstat (limited to 'extra/smartmontools')
-rw-r--r--extra/smartmontools/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/extra/smartmontools/PKGBUILD b/extra/smartmontools/PKGBUILD
index 3961405be..76b468174 100644
--- a/extra/smartmontools/PKGBUILD
+++ b/extra/smartmontools/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 96222 2010-10-19 12:09:31Z giovanni $
+# $Id: PKGBUILD 127374 2011-06-14 00:06:39Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Jani Talikka <jani.talikka@gmail.com>
# Contributor: Ralf Barth <archlinux.org@haggy.org>
pkgname=smartmontools
-pkgver=5.40
+pkgver=5.41
pkgrel=1
pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives."
url="http://smartmontools.sourceforge.net"
@@ -17,25 +17,23 @@ backup=('etc/smartd.conf'
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz \
smartd.conf
smartd.rc)
-md5sums=('0f0be0239914ad87830a4fff594bda5b'
+md5sums=('4577886bea79d4ff12bd9a7d323ce692'
'28c1b80c41dac52d433961dcfb4f70e0'
'fb30e07f87f2c1d99532e018291ad3e8')
-build()
-{
+build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-drivedb
- make || return 1
+ make
}
-package()
-{
+package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir}/ install || return 1
+ 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