diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-21 14:44:37 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-21 14:44:37 -0300 |
commit | 9d6dd0a34cb8bd599c4d06c54dbd247ede60267f (patch) | |
tree | cc7662c9e2eda6f7e3b3b0fb3b7c094e4fa54d0b /core/sdparm | |
parent | fe0996f2e8716b772785a0bf93c6a3f2d5dc22ff (diff) | |
parent | 70b4878648fd376433739bd5c835503f6301a5b2 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/avifile/PKGBUILD
community/blackbox/PKGBUILD
community/blobby2/PKGBUILD
community/chmsee/PKGBUILD
community/extrema/PKGBUILD
community/floyd/PKGBUILD
community/gnash/PKGBUILD
community/gq/PKGBUILD
community/gsql/PKGBUILD
community/haddock/PKGBUILD
community/hashcash/PKGBUILD
community/kvpnc/PKGBUILD
community/uptimed/PKGBUILD
community/wol/PKGBUILD
core/jfsutils/PKGBUILD
core/reiserfsprogs/PKGBUILD
extra/gtk2/PKGBUILD
extra/libcroco/PKGBUILD
extra/libffado/PKGBUILD
extra/librsvg/PKGBUILD
extra/lua/PKGBUILD
extra/mesa/PKGBUILD
extra/valgrind/PKGBUILD
extra/xorg-server/PKGBUILD
libre/audacious-plugins-libre/PKGBUILD
libre/texlive-bin-libre/PKGBUILD
multilib/lib32-gtk2/PKGBUILD
multilib/lib32-mesa/PKGBUILD
multilib/wine/PKGBUILD
multilib/wine_gecko/PKGBUILD
Diffstat (limited to 'core/sdparm')
-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 a61ecc2c7..b1497971a 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' 'mips64el') 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" } |