mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:47:21 +08:00
a68df95764
sg3_utils: bump to 1.29
26 lines
821 B
Bash
26 lines
821 B
Bash
#$Id: PKGBUILD 57693 2009-11-01 14:51:33Z jgc $
|
|
# 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
|
|
stdint.patch)
|
|
md5sums=('17b8f2bc1b32bd036515683cc87328ea'
|
|
'795480007541389d2ceebb364c75dbcf')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np0 -i "${srcdir}/stdint.patch" || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|