core/sdparm/PKGBUILD

28 lines
699 B
Bash
Raw Normal View History

2010-05-16 23:08:55 +08:00
# $Id: PKGBUILD 77610 2010-04-16 12:18:44Z andrea $
2010-03-13 23:25:19 +08:00
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: grimi@poczta.fm
pkgname=sdparm
2010-05-16 23:08:55 +08:00
pkgver=1.05
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"
license=('BSD')
depends=('glibc')
source=("http://sg.danny.cz/sg/p/$pkgname-$pkgver.tgz")
2010-05-16 23:08:55 +08:00
md5sums=('8f42a10c5f4a826a29d6f5ccccf0c280')
2010-03-13 23:25:19 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
2010-05-16 23:08:55 +08:00
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
2010-03-13 23:25:19 +08:00
make DESTDIR=${pkgdir}/ install || return 1
2010-05-16 23:08:55 +08:00
install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname}/LICENSE
2010-03-13 23:25:19 +08:00
}