summaryrefslogtreecommitdiff
path: root/community/idle3-tools/PKGBUILD
blob: d2395c33e090e0891e16fd72d98c14a9c7106b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: Archan Paul <archan.paul@gmail.com>
# Contributor: aexoxea <digitaleon@internode.on.net>

pkgname=idle3-tools
pkgver=0.9.1
pkgrel=5
pkgdesc='A utility that can disable, get and set the value of the idle3 timer found on Western Digital Hard 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)
sha1sums=('44b5c4988e42d59e56fbc72550db34c5012beda6')

build() {
  cd idle3-tools-$pkgver
  make
}

package() {
  cd idle3-tools-$pkgver
  make sbindir=/usr/bin DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}