1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=hdsentinel
pkgver=0.8
pkgrel=1
pkgdesc="A freeware, closed source, SMART analysis tool"
arch=('i686' 'x86_64')
url="http://www.hdsentinel.com/hdslin.php"
license=('unknown')
depends=()
if [[ $CARCH == "i686" ]]; then
  source=(http://www.hdsentinel.com/hdslin/hdsentinel_008.zip)
  md5sums=('fcc8ab331964c95d8e20e9dee6af2ee9')
elif [[ $CARCH == "x86_64" ]]; then
  source=(http://www.hdsentinel.com/hdslin/hdsentinel_008_x64.zip)
  md5sums=('498da79b699922bbe4f4a91a2b28f679')
fi

build() {
  cd $srcdir
  install -m755 -D HDSentinel $pkgdir/usr/sbin/hdsentinel ||return 1
}

# vim:set ts=2 sw=2 et: