summaryrefslogtreecommitdiffstats
path: root/abs/core/sg3_utils/PKGBUILD
blob: 1da9b0eee65e294c68acb246dffe6c2131c25304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=sg3_utils
pkgver=1.27
pkgrel=1
pkgdesc="Generic SCSI utilities"
arch=(i686 x86_64)
url="http://sg.torque.net/sg/sg3_utils.html"
license=('GPL' 'custom:BSD')
depends=('glibc')
options=('!libtool')
source=(http://www.mythvantage.com/src/${pkgname}-${pkgver}.tgz)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr 
  make || return 1
  make DESTDIR=${startdir}/pkg install
  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}