core/sdparm/PKGBUILD

24 lines
661 B
Bash
Raw Normal View History

2010-03-13 23:25:19 +08:00
# $Id: PKGBUILD 53911 2009-10-03 20:40:12Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: grimi@poczta.fm
pkgname=sdparm
pkgver=1.04
2010-04-04 22:20:41 +08:00
pkgrel=1
2010-03-13 23:25:19 +08:00
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 ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir}/ install || return 1
install -Dm644 COPYING $pkgdir/usr/share/licenses/sdparm/COPYING
}
md5sums=('b20c281bc185ea7d3c5e78a8c0be2a46')