diff options
author | root <root@rshg054.dnsready.net> | 2011-11-03 23:14:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-03 23:14:47 +0000 |
commit | b625511a28fd8401f524474b5339e75328595150 (patch) | |
tree | 1daf0e94a58707bedb1a8ef5c3e98ce2cc9d7fa2 /testing/sdparm | |
parent | 6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (diff) |
Thu Nov 3 23:14:47 UTC 2011
Diffstat (limited to 'testing/sdparm')
-rw-r--r-- | testing/sdparm/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/sdparm/PKGBUILD b/testing/sdparm/PKGBUILD new file mode 100644 index 000000000..d7f23084c --- /dev/null +++ b/testing/sdparm/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 141893 2011-11-02 20:16:08Z andrea $ +# Maintainer: +# Contributor: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: grimi@poczta.fm + +pkgname=sdparm +pkgver=1.06 +pkgrel=2 +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=('5e19913658bb4f9849ddd909e0f47cde') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 COPYING \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |