mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
23 lines
596 B
Bash
23 lines
596 B
Bash
# 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"
|
|
arch=('arm')
|
|
url="http://sg.danny.cz/sg/sdparm.html"
|
|
groups=('base')
|
|
license=('BSD')
|
|
depends=('glibc')
|
|
source=(http://sg.danny.cz/sg/p/$pkgname-$pkgver.tgz)
|
|
md5sums=('b20c281bc185ea7d3c5e78a8c0be2a46')
|
|
|
|
|
|
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
|
|
}
|