113.0-1
[arch-packages.git] / sdparm / trunk / PKGBUILD
blobced20352305cf963d8388c7fc0010e856740f67e
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=sdparm
4 pkgver=1.12
5 pkgrel=1
6 pkgdesc="An utility similar to hdparm but for SCSI devices"
7 arch=('x86_64')
8 url="http://sg.danny.cz/sg/sdparm.html"
9 license=('BSD')
10 depends=('glibc' 'bash')
11 source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz)
12 sha512sums=('37d562271bd9aba34cce3b74f4bcdbe2fcad52e37399fbfb5b457c0e38e04f9376f97547b930643ec870998d82a08ac6a9c93c94b217fcc4c059adda5315fca5')
14 build() {
15   cd ${pkgname}-${pkgver}
16   ./configure --prefix=/usr
17   make
20 check() {
21   cd ${pkgname}-${pkgver}
22   make check
25 package() {
26   cd ${pkgname}-${pkgver}
27   make DESTDIR="${pkgdir}" install
28   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"