# Maintainer: Natanael Copa pkgname=hdparm pkgver=9.38 pkgrel=0 pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" url="http://sourceforge.net/projects/hdparm/" arch="all" license="BSD" depends= makedepends= subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" mkdir -p "$pkgdir"/usr "$pkgdir"/sbin make DESTDIR="$pkgdir" install || return 1 install -m755 contrib/idectl "$pkgdir"/sbin || return 1 install -m755 contrib/ultrabayd "$pkgdir"/sbin || return 1 install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT || return 1 } md5sums="915e74685e2f25eaebe6a26c5d7ca700 hdparm-9.38.tar.gz"