summaryrefslogtreecommitdiff
path: root/community/lshw/PKGBUILD
blob: 29c2b6d34cae22c4cafeb4185c06028ffa2a3115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 29087 2010-10-10 07:47:30Z spupykin $
# 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.15
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' 'mips64el')
depends=('gcc-libs')
optdepends=('gtk2')
makedepends=('gcc')
source=(http://ezix.org/software/files/lshw-$pkgver.tar.gz
	abi_stdlib.diff)
md5sums=('970bd9eb05fa3ae139a24a417465c54c'
         '7adcdd7a2be2feba956a9832cf36abdf')

build() {
  cd $srcdir/$pkgname-$pkgver

#  patch -Np1 -i ../abi_stdlib.diff || return 1

  make || return 1
  make gui || return 1
  make DESTDIR=$pkgdir/ install || return 1
  make DESTDIR=$pkgdir/ install-gui
}