[arch-commits] CVS update of arch/build/system/hdparm (PKGBUILD)

Paul Mattal paul at archlinux.org
Fri May 11 16:23:51 UTC 2007


    Date: Friday, May 11, 2007 @ 12:23:51
  Author: paul
    Path: /home/cvs-arch/arch/build/system/hdparm

Modified: PKGBUILD (1.20 -> 1.21)

upgpkg: hdparm 7.3-1
update to 7.3


----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)


Index: arch/build/system/hdparm/PKGBUILD
diff -u arch/build/system/hdparm/PKGBUILD:1.20 arch/build/system/hdparm/PKGBUILD:1.21
--- arch/build/system/hdparm/PKGBUILD:1.20	Sat Nov  4 10:34:18 2006
+++ arch/build/system/hdparm/PKGBUILD	Fri May 11 12:23:50 2007
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD,v 1.20 2006/11/04 15:34:18 tpowa Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
+# $Id: PKGBUILD,v 1.21 2007/05/11 16:23:50 paul Exp $
+# Maintainer: Paul Mattal <paul at archlinux.org>
 
 pkgname=hdparm
-pkgver=6.9
+pkgver=7.3
 pkgrel=1
 pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters"
 arch=(i686 x86_64)
 depends=('glibc')
 source=(http://heanet.dl.sourceforge.net/sourceforge/hdparm/${pkgname}-${pkgver}.tar.gz)
 url="http://sourceforge.net/projects/hdparm/"
-md5sums=('62749c6cdf28ce31aae335092fa107df')
+md5sums=('27a5120e9df51399cbfe98121c90b22e')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd ${startdir}/src/${pkgname}-${pkgver} || return 1
+
+  # build
   make || return 1
-  mkdir -p ${startdir}/pkg/{usr,sbin,usr/man/man8}
-  make DESTDIR=${startdir}/pkg install
-  install -m755 contrib/idectl ${startdir}/pkg/sbin
-  install -m755 contrib/ultrabayd ${startdir}/pkg/sbin
+
+  # install
+  mkdir -p ${startdir}/pkg/{usr,sbin,usr/man/man8} || return 1
+  make DESTDIR=${startdir}/pkg install || return 1
+  install -m755 contrib/idectl ${startdir}/pkg/sbin || return 1
+  install -m755 contrib/ultrabayd ${startdir}/pkg/sbin || return 1
 }




More information about the arch-commits mailing list