mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
28 lines
699 B
Bash
28 lines
699 B
Bash
# $Id: PKGBUILD 77610 2010-04-16 12:18:44Z andrea $
|
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
|
# Contributor: grimi@poczta.fm
|
|
|
|
pkgname=sdparm
|
|
pkgver=1.05
|
|
pkgrel=1
|
|
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")
|
|
md5sums=('8f42a10c5f4a826a29d6f5ccccf0c280')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir}/ install || return 1
|
|
|
|
install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|