mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:24:38 +08:00
26 lines
610 B
Bash
26 lines
610 B
Bash
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=sdparm
|
|
pkgver=1.08
|
|
pkgrel=1
|
|
pkgdesc="An utility similar to hdparm but for SCSI devices"
|
|
arch=('x86_64')
|
|
url="http://sg.danny.cz/sg/sdparm.html"
|
|
license=('BSD')
|
|
depends=('glibc')
|
|
source=("http://sg.danny.cz/sg/p/$pkgname-$pkgver.tar.xz")
|
|
md5sums=('d290e6b45d690bfa2cc05700ec119073')
|
|
|
|
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
|
|
}
|