blob: a61ecc2c7bba3894bcee5da909089c527fa745f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 99522 2010-11-14 22:33:34Z andrea $
# Maintainer:
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: grimi@poczta.fm
pkgname=sdparm
pkgver=1.06
pkgrel=1
pkgdesc="An utility similar to hdparm but for SCSI devices"
arch=('i686' 'x86_64' 'mips64el')
url="http://sg.danny.cz/sg/sdparm.html"
license=('BSD')
depends=('glibc')
source=("http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tgz")
md5sums=('5e19913658bb4f9849ddd909e0f47cde')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir}/ install
install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname}/LICENSE
}
|