archrelease: copy trunk to extra-x86_64
[arch-packages.git] / sg3_utils / trunk / PKGBUILD
blob400691c44b214c4daae066e3109220ab7404fed2
1 # Maintainer: Daniel Isenmann <daniel@archlinux.org>
3 pkgname=sg3_utils
4 pkgver=1.47
5 pkgrel=1
6 pkgdesc="Generic SCSI utilities"
7 arch=(x86_64)
8 url="http://sg.danny.cz/sg/sg3_utils.html"
9 license=('GPL' 'custom:BSD')
10 depends=('glibc')
11 source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz)
12 sha512sums=('ef072b8f0012d0944e21d2134aff7125e24ea24d1cbbb1aa79160e844f9a60236f1e244437a3bc08a22a7e99f613adad4a05ae5cc3916ded5a72d162cd3aa163')
14 build() {
15   cd ${pkgname}-${pkgver}
16   ./configure --prefix=/usr
17   make
20 package() {
21   cd ${pkgname}-${pkgver}
22   make DESTDIR="${pkgdir}" install
23   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
24   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"