mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
26 lines
697 B
Bash
26 lines
697 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/sg3_utils
|
|
|
|
pkgname=sg3_utils
|
|
pkgver=1.42
|
|
pkgrel=1
|
|
pkgdesc="Generic SCSI utilities"
|
|
arch=(x86_64)
|
|
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=('913ac2c9069d2ba44e05565a445810ab')
|
|
|
|
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}/"
|
|
}
|