diff options
Diffstat (limited to 'abs/core/hdparm/PKGBUILD')
-rw-r--r-- | abs/core/hdparm/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/hdparm/PKGBUILD b/abs/core/hdparm/PKGBUILD new file mode 100644 index 0000000..de29521 --- /dev/null +++ b/abs/core/hdparm/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 7862 2008-08-04 20:16:21Z tpowa $ +# Maintainer: Paul Mattal <paul@archlinux.org> + +pkgname=hdparm +pkgver=8.9 +pkgrel=10 +pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" +arch=(i686 x86_64) +depends=('glibc') +groups=('base') +source=(http://heanet.dl.sourceforge.net/sourceforge/hdparm/${pkgname}-${pkgver}.tar.gz) +license=('BSD') +url="http://sourceforge.net/projects/hdparm/" + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} || return 1 + + # build + make || return 1 + + # install + mkdir -p ${startdir}/pkg/{usr,sbin} || 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 + + #install license file + install -D -m 644 LICENSE.TXT $startdir/pkg/usr/share/licenses/hdparm/LICENSE.TXT + + # installs empty /usr/share, which we let it do since it causes + # no harm and it might put something there someday +} +md5sums=('19fa013956612581af7d00907990ac84') |