1 # Maintainer: Can Celasun <dcelasun@gmail.com>
5 pkgdesc="Hardware lister application with CLI and GTK interfaces."
6 url="http://ezix.org/project/wiki/HardwareLiSter"
9 depends=('gtk2' 'libglade' 'gksu')
12 source=(http://ezix.org/software/files/lshw-${pkgver}.tar.gz
15 md5sums=('970bd9eb05fa3ae139a24a417465c54c' 'f7e7551c68598782c5251475dea47130' '5ea8cd43ff46b810e8250b7a94ceec17')
19 cd "$srcdir/lshw-${pkgver}"
21 msg "Starting make..."
23 make DESTDIR=$pkgdir install
27 make DESTDIR=$pkgdir install-gui
29 # Place the desktop file and logo
30 mkdir $pkgdir/usr/share/applications
31 mkdir $pkgdir/usr/share/pixmaps
32 cp $srcdir/lshw-gtk.desktop $pkgdir/usr/share/applications
33 cp $srcdir/lshw-gtk.xpm $pkgdir/usr/share/pixmaps
35 # Default gui is gtk-lshw, change that to lshw-gtk for better naming convention
36 mv $pkgdir/usr/sbin/gtk-lshw $pkgdir/usr/sbin/lshw-gtk