[arch-commits] Commit in sg3_utils/trunk (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sat Feb 5 11:24:51 UTC 2011
Date: Saturday, February 5, 2011 @ 06:24:51
Author: andyrtr
Revision: 109019
upgpkg: sg3_utils 1.30-1
upstream update 1.30
Modified:
sg3_utils/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-05 11:18:13 UTC (rev 109018)
+++ PKGBUILD 2011-02-05 11:24:51 UTC (rev 109019)
@@ -1,7 +1,8 @@
#$Id$
# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
pkgname=sg3_utils
-pkgver=1.29
+pkgver=1.30
pkgrel=1
pkgdesc="Generic SCSI utilities"
arch=(i686 x86_64)
@@ -10,13 +11,17 @@
depends=('glibc')
options=('!libtool')
source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tgz)
-md5sums=('17b8f2bc1b32bd036515683cc87328ea')
+md5sums=('8acb9328abe17d012db8c5f95f1d7d75')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
More information about the arch-commits
mailing list