summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/sg3_utils/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/abs/core/sg3_utils/PKGBUILD b/abs/core/sg3_utils/PKGBUILD
index 6fc92a2..7392bd2 100644
--- a/abs/core/sg3_utils/PKGBUILD
+++ b/abs/core/sg3_utils/PKGBUILD
@@ -1,25 +1,27 @@
-#$Id: PKGBUILD 82274 2010-06-09 19:35:19Z ibiru $
+#$Id: PKGBUILD 147121 2012-01-22 10:55:51Z andyrtr $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
+
pkgname=sg3_utils
-pkgver=1.29
+pkgver=1.33
pkgrel=1
pkgdesc="Generic SCSI utilities"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://sg.danny.cz/sg/sg3_utils.html"
license=('GPL' 'custom:BSD')
depends=('glibc')
options=('!libtool')
source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tgz)
-md5sums=('17b8f2bc1b32bd036515683cc87328ea')
+md5sums=('261e39f7161337330ba6bd57999be801')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
+ ./configure --prefix=/usr
+ make
}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
+ 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}/"
}