From b3531e5acd3f55613eddde5591eb2e880fa96ed8 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 16 Nov 2011 23:15:07 +0000 Subject: Wed Nov 16 23:15:06 UTC 2011 --- core/sdparm/PKGBUILD | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'core/sdparm/PKGBUILD') 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 # 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" } -- cgit v1.2.3-54-g00ecf