summaryrefslogtreecommitdiff
path: root/community/lshw/PKGBUILD
blob: 2ae65f146204af73a25859e81072253c1bc1c46c (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 80847 2012-12-04 12:38:54Z 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.16
pkgrel=2
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' 'hwids')
optdepends=('gtk2')
makedepends=('gcc' 'gtk2' 'sqlite')
source=(http://ezix.org/software/files/lshw-$pkgver.tar.gz)
md5sums=('67479167add605e8f001097c30e96d0d')

build() {
  cd $srcdir/$pkgname-$pkgver
  make
  make gui
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir/ install
  make DESTDIR=$pkgdir/ install-gui
  rm -f $pkgdir/usr/share/lshw/{pci,usb}.ids
}