PKGBUILDs/community/lshw/PKGBUILD
2009-10-09 21:15:33 -05:00

29 lines
878 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>
# Contributor: Chuck Yang <Chuck.Yang@gmail.com>
pkgname=lshw
pkgver=B.02.14
pkgrel=1
pkgdesc="A small tool to provide detailed information on the hardware configuration of the machine."
url="http://ezix.org/project/wiki/HardwareLiSter"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gtk2')
makedepends=('gcc')
source=(http://ezix.org/software/files/lshw-$pkgver.tar.gz
abi_stdlib.diff)
md5sums=('8bed55768c5cb2ceff062b882a687e9b'
'd7654399a9e53734a03ccd73b8bb430e')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np0 -i ../abi_stdlib.diff || return 1
make || return 1
make gui || return 1
make DESTDIR=$startdir/pkg/ install
make DESTDIR=$startdir/pkg/ install-gui
}