Date: Sunday, January 29, 2012 @ 20:53:05 Author: stephane Revision: 148024
archrelease: copy trunk to testing-i686, testing-x86_64 Added: sdparm/repos/testing-i686/ sdparm/repos/testing-i686/PKGBUILD (from rev 148023, sdparm/trunk/PKGBUILD) sdparm/repos/testing-x86_64/ sdparm/repos/testing-x86_64/PKGBUILD (from rev 148023, sdparm/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: sdparm/repos/testing-i686/PKGBUILD (from rev 148023, sdparm/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-01-30 01:53:05 UTC (rev 148024) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: gr...@poczta.fm + +pkgname=sdparm +pkgver=1.07 +pkgrel=1 +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=('c807f9db3dd7af175214be0d7fece494') + +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" +} Copied: sdparm/repos/testing-x86_64/PKGBUILD (from rev 148023, sdparm/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-01-30 01:53:05 UTC (rev 148024) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: gr...@poczta.fm + +pkgname=sdparm +pkgver=1.07 +pkgrel=1 +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=('c807f9db3dd7af175214be0d7fece494') + +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" +}