summaryrefslogtreecommitdiff
path: root/extra/smartmontools/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:21:50 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:21:50 -0300
commit3b1f136e5530b99c12c9b170b16af39e398e1719 (patch)
tree68f1515c47b2bfc69d67cb523ad955dff4538d6a /extra/smartmontools/PKGBUILD
parent5182b3ad7127576cdf11e1b729c9ef53383dbf69 (diff)
parentba3afb3907fc927bd08713613d4a30a9479c715c (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/indent/PKGBUILD
Diffstat (limited to 'extra/smartmontools/PKGBUILD')
-rw-r--r--extra/smartmontools/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/extra/smartmontools/PKGBUILD b/extra/smartmontools/PKGBUILD
index 8fe05b377..49419846b 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