mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
815 B
Bash
24 lines
815 B
Bash
#$Id: PKGBUILD 43974 2009-06-30 14:29:03Z francois $
|
|
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
|
|
pkgname=sg3_utils
|
|
pkgver=1.27
|
|
pkgrel=2
|
|
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" "stdint.patch")
|
|
md5sums=('de42374a6ba11258f1963134542af12c'
|
|
'795480007541389d2ceebb364c75dbcf')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p0 < ../stdint.patch || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=${startdir}/pkg install || return 1
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|