diff options
author | root <root@rshg054.dnsready.net> | 2011-11-16 23:15:07 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-16 23:15:07 +0000 |
commit | b3531e5acd3f55613eddde5591eb2e880fa96ed8 (patch) | |
tree | 78746d9e8f3a8cc99ac0e66b5188c0647059adde /core/sdparm/PKGBUILD | |
parent | 91ef4ffb2e0ba850501329a8bbc0b326788bd58c (diff) |
Wed Nov 16 23:15:06 UTC 2011
Diffstat (limited to 'core/sdparm/PKGBUILD')
-rw-r--r-- | core/sdparm/PKGBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/core/sdparm/PKGBUILD b/core/sdparm/PKGBUILD index f1ff5950a..0bf5ea56f 100644 --- a/core/sdparm/PKGBUILD +++ b/core/sdparm/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 99522 2010-11-14 22:33:34Z andrea $ +# $Id: PKGBUILD 142819 2011-11-15 17:24:15Z andrea $ # Maintainer: # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: grimi@poczta.fm pkgname=sdparm pkgver=1.06 -pkgrel=1 +pkgrel=2 pkgdesc="An utility similar to hdparm but for SCSI devices" arch=('i686' 'x86_64') url="http://sg.danny.cz/sg/sdparm.html" @@ -15,14 +15,20 @@ source=("http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tgz") md5sums=('5e19913658bb4f9849ddd909e0f47cde') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir}/ install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install - install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 COPYING \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |