summaryrefslogtreecommitdiff
path: root/extra/sg3_utils/PKGBUILD
blob: 3e080c6fabc23a074e6b8cd0eb1992569b78ca11 (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
26
#$Id: PKGBUILD 197372 2013-10-25 03:01:52Z allan $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>

pkgname=sg3_utils
pkgver=1.36
pkgrel=2
pkgdesc="Generic SCSI utilities"
arch=(i686 x86_64 'mips64el')
url="http://sg.danny.cz/sg/sg3_utils.html"
license=('GPL' 'custom:BSD')
depends=('glibc')
source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz)
md5sums=('5d1846c8aa03a2e39e1368cf05bf1cfd')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./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}/"
}