summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/sdparm/PKGBUILD
blob: e0019e1cbec34cac3519aaf2e32c0f6135d204d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: grimi@poczta.fm

pkgname=sdparm
pkgver=1.05
pkgrel=1
pkgdesc="An utility similar to hdparm but for SCSI devices"
arch=('i686' 'x86_64')
url="http://sg.danny.cz/sg/sdparm.html"
groups=('base')
license=('BSD')
depends=('glibc')
source=("http://sg.danny.cz/sg/p/$pkgname-$pkgver.tgz")

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  install -Dm644 COPYING $startdir/pkg/usr/share/licenses/sdparm/COPYING
}
md5sums=('8f42a10c5f4a826a29d6f5ccccf0c280')