blob: 2d997b7ae16e7cb0553460fe0d12d95e5b812533 (
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
27
|
#$Id: PKGBUILD 109019 2011-02-05 11:24:51Z andyrtr $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
pkgname=sg3_utils
pkgver=1.30
pkgrel=1
pkgdesc="Generic SCSI utilities"
arch=(i686 x86_64 'mips64el')
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=('8acb9328abe17d012db8c5f95f1d7d75')
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}/"
}
|