core/sdparm/PKGBUILD

26 lines
610 B
Bash
Raw Normal View History

# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-03-13 23:25:19 +08:00
pkgname=sdparm
2013-10-14 01:28:54 +08:00
pkgver=1.08
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="An utility similar to hdparm but for SCSI devices"
2013-10-14 01:28:54 +08:00
arch=('x86_64')
2010-03-13 23:25:19 +08:00
url="http://sg.danny.cz/sg/sdparm.html"
license=('BSD')
depends=('glibc')
2013-10-14 01:28:54 +08:00
source=("http://sg.danny.cz/sg/p/$pkgname-$pkgver.tar.xz")
md5sums=('d290e6b45d690bfa2cc05700ec119073')
2010-03-13 23:25:19 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
2013-10-14 01:28:54 +08:00
make
2010-05-16 23:08:55 +08:00
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
2013-10-14 01:28:54 +08:00
make DESTDIR=${pkgdir}/ install
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
}