summaryrefslogtreecommitdiff
path: root/testing/hdparm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/hdparm/PKGBUILD')
-rw-r--r--testing/hdparm/PKGBUILD42
1 files changed, 0 insertions, 42 deletions
diff --git a/testing/hdparm/PKGBUILD b/testing/hdparm/PKGBUILD
deleted file mode 100644
index 5d350ccbb..000000000
--- a/testing/hdparm/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD 146531 2012-01-12 16:33:43Z tpowa $
-# Maintainer: Paul Mattal <paul@archlinux.org>
-
-pkgname=hdparm
-pkgver=9.38
-pkgrel=1
-pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters"
-arch=(i686 x86_64)
-depends=('glibc')
-optdepends=('sh: required by idectl and ultrabayd')
-source=(http://downloads.sourceforge.net/sourceforge/hdparm/${pkgname}-${pkgver}.tar.gz
- wiper.sh.2_6.max-ranges.patch)
-license=('BSD')
-url="http://sourceforge.net/projects/hdparm/"
-optdepends=('bash: for wiper.sh script')
-options=('emptydirs')
-
-build() {
- 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
- 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
-
- 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 license file
- install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT
-}
-md5sums=('915e74685e2f25eaebe6a26c5d7ca700'
- '74e368f384166a7710b447573cda120a')