summaryrefslogtreecommitdiffstats
path: root/abs/core/sg3_utils/PKGBUILD
blob: 6fc92a2aae8ddeb03d176923640b13b5e4df7334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#$Id: PKGBUILD 82274 2010-06-09 19:35:19Z ibiru $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
pkgname=sg3_utils
pkgver=1.29
pkgrel=1
pkgdesc="Generic SCSI utilities"
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')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}