[arch-commits] Commit in sdparm/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Fri Apr 16 12:18:44 UTC 2010


    Date: Friday, April 16, 2010 @ 08:18:44
  Author: andrea
Revision: 77610

upgpkg: sdparm 1.05-1
upstream release

Modified:
  sdparm/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-16 12:14:39 UTC (rev 77609)
+++ PKGBUILD	2010-04-16 12:18:44 UTC (rev 77610)
@@ -3,7 +3,7 @@
 # Contributor: grimi at poczta.fm
 
 pkgname=sdparm
-pkgver=1.04
+pkgver=1.05
 pkgrel=1
 pkgdesc="An utility similar to hdparm but for SCSI devices"
 arch=('i686' 'x86_64')
@@ -11,12 +11,17 @@
 license=('BSD')
 depends=('glibc')
 source=("http://sg.danny.cz/sg/p/$pkgname-$pkgver.tgz")
+md5sums=('8f42a10c5f4a826a29d6f5ccccf0c280')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make || return 1
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir}/ install || return 1
-  install -Dm644 COPYING $pkgdir/usr/share/licenses/sdparm/COPYING
+
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname}/LICENSE
 }
-md5sums=('b20c281bc185ea7d3c5e78a8c0be2a46')




More information about the arch-commits mailing list