From 5b365327dcf9494b4122997569405c480ff16517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Mon, 21 Jul 2014 04:11:09 +0000 Subject: Mon Jul 21 04:07:18 UTC 2014 --- community/idle3-tools/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 community/idle3-tools/PKGBUILD (limited to 'community/idle3-tools/PKGBUILD') diff --git a/community/idle3-tools/PKGBUILD b/community/idle3-tools/PKGBUILD new file mode 100644 index 000000000..04a76749d --- /dev/null +++ b/community/idle3-tools/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Anatol Pomozov +# Contributor: Archan Paul +# Contributor: aexoxea + +pkgname=idle3-tools +pkgver=0.9.1 +pkgrel=3 +pkgdesc='A linux/unix utility that can disable, get and set the value of the idle3 timer found on recent Western Digital Hard Disk Drives.' +arch=(i686 x86_64) +url='http://idle3-tools.sourceforge.net/' +license=(GPL) +depends=(glibc) +source=(http://download.sourceforge.net/idle3-tools/idle3-tools-$pkgver.tgz) +md5sums=('797d8775b80b7b7b67a1f8b0a5b41f30') + +prepare() { + cd idle3-tools-$pkgver + sed -i 's/\bsbin\b/bin/g' Makefile +} + +build() { + cd idle3-tools-$pkgver + make +} + +package() { + cd idle3-tools-$pkgver + make binprefix=/usr DESTDIR=$pkgdir install +} -- cgit v1.2.2