core/sg3_utils/PKGBUILD

26 lines
697 B
Bash
Raw Normal View History

2016-02-24 06:10:18 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/sg3_utils
2010-03-14 23:48:48 +08:00
pkgname=sg3_utils
2016-02-24 06:10:18 +08:00
pkgver=1.42
2010-03-14 23:48:48 +08:00
pkgrel=1
pkgdesc="Generic SCSI utilities"
2016-02-24 06:10:18 +08:00
arch=(x86_64)
2010-03-14 23:48:48 +08:00
url="http://sg.danny.cz/sg/sg3_utils.html"
license=('GPL' 'custom:BSD')
depends=('glibc')
2016-02-24 06:10:18 +08:00
source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz)
md5sums=('913ac2c9069d2ba44e05565a445810ab')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2016-02-24 06:10:18 +08:00
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
2016-02-24 06:10:18 +08:00
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
2010-03-14 23:48:48 +08:00
}