summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/hdparm
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/hdparm
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/hdparm')
-rw-r--r--abs/core-testing/hdparm/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core-testing/hdparm/PKGBUILD b/abs/core-testing/hdparm/PKGBUILD
new file mode 100644
index 0000000..de29521
--- /dev/null
+++ b/abs/core-testing/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')