Browse Source

sdparm: add new package

tags/milky-way/v0.3
André Silva 1 year ago
parent
commit
664c7a4bf7
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      sdparm/PKGBUILD

+ 30
- 0
sdparm/PKGBUILD View File

@@ -0,0 +1,30 @@
# Maintainer (Arch): Eric Bélanger <eric@archlinux.org>
# Maintainer: André Silva <emulatorman@hyperbola.info>

pkgname=sdparm
pkgver=1.10
pkgrel=1.hyperbola1
pkgdesc="An utility similar to hdparm but for SCSI devices"
arch=('i686' 'x86_64')
url="http://sg.danny.cz/sg/sdparm.html"
license=('Modified-BSD')
depends=('glibc' 'bash')
source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz)
sha512sums=('0486b93d08f71ef71e1e7229762b02155101e3166a3b72bff5a6b2a59c55d7d834cd1b37b4f413cd62c31e42e9caf3759ea79c292b1a87654d952b4ab9917484')

build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}

check() {
cd ${pkgname}-${pkgver}
make check
}

package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}

Loading…
Cancel
Save