diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/hdparm | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/hdparm')
-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') |