summaryrefslogtreecommitdiffstats
path: root/abs/core/hdparm
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-16 23:49:28 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:03 (GMT)
commitab291b2d47373ee4c015df5d754b057815875536 (patch)
treee0d3eb2d54e424f57c7aa0324281540cf667e61b /abs/core/hdparm
parent454839cd73d339fb79e3b2a9dce6e9f07a2106aa (diff)
downloadlinhes_pkgbuild-ab291b2d47373ee4c015df5d754b057815875536.zip
linhes_pkgbuild-ab291b2d47373ee4c015df5d754b057815875536.tar.gz
linhes_pkgbuild-ab291b2d47373ee4c015df5d754b057815875536.tar.bz2
hdparm 9.4.3
update binary path to /usr/bin refs #961
Diffstat (limited to 'abs/core/hdparm')
-rw-r--r--abs/core/hdparm/PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/abs/core/hdparm/PKGBUILD b/abs/core/hdparm/PKGBUILD
index 5f79d6c..044ae24 100644
--- a/abs/core/hdparm/PKGBUILD
+++ b/abs/core/hdparm/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 150217 2012-02-15 07:27:04Z tpowa $
+# $Id: PKGBUILD 186146 2013-05-21 09:12:32Z tpowa $
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=hdparm
-pkgver=9.39
-pkgrel=1
+pkgver=9.43
+pkgrel=2
pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters"
arch=(i686 x86_64)
depends=('glibc')
@@ -14,29 +14,31 @@ license=('BSD')
url="http://sourceforge.net/projects/hdparm/"
optdepends=('bash: for wiper.sh script')
options=('emptydirs')
-md5sums=('2bc17b72403885d4faf959682944243b'
- '74e368f384166a7710b447573cda120a')
-build() {
+prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
# Fix Range input/output error when wiping Intel G2 and OCZ drives
patch -Np1 -i $srcdir/wiper.sh.2_6.max-ranges.patch
-
- # build
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
# install
- mkdir -p ${pkgdir}/{usr,sbin}
- make DESTDIR=${pkgdir} install
- install -m755 contrib/idectl ${pkgdir}/sbin
- install -m755 contrib/ultrabayd ${pkgdir}/sbin
+ mkdir -p ${pkgdir}/usr/bin
+ make DESTDIR=${pkgdir} sbindir=/usr/bin install
+ install -m755 contrib/idectl ${pkgdir}/usr/bin
+ install -m755 contrib/ultrabayd ${pkgdir}/usr/bin
install -D -m 0644 $srcdir/$pkgname-$pkgver/wiper/README.txt $pkgdir/usr/share/doc/wiper/README.txt
- install -D -m 0755 $srcdir/$pkgname-$pkgver/wiper/wiper.sh $pkgdir/usr/sbin/wiper.sh
+ install -D -m 0755 $srcdir/$pkgname-$pkgver/wiper/wiper.sh $pkgdir/usr/bin/wiper.sh
#install license file
install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT
}
+md5sums=('f73233be118d86c779a8463d8b6a3cdb'
+ '74e368f384166a7710b447573cda120a')