PKGBUILDs/core/sdparm/PKGBUILD

24 lines
596 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: grimi@poczta.fm
pkgname=sdparm
pkgver=1.04
pkgrel=1
pkgdesc="An utility similar to hdparm but for SCSI devices"
2009-10-10 05:27:44 +00:00
arch=('arm')
2009-10-10 02:17:35 +00:00
url="http://sg.danny.cz/sg/sdparm.html"
groups=('base')
license=('BSD')
depends=('glibc')
2009-10-10 05:27:44 +00:00
source=(http://sg.danny.cz/sg/p/$pkgname-$pkgver.tgz)
md5sums=('b20c281bc185ea7d3c5e78a8c0be2a46')
2009-10-10 02:17:35 +00:00
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
}