updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / lshw-svn / PKGBUILD
blobe239d500d425a06cf70285e733aa3e2f23b239b1
1 # Contributor:  L0cutus <stefano.zamprogno@gmail.com>
2 pkgname=lshw-svn
3 pkgver=2042
4 pkgrel=1
5 pkgdesc="Lshw is a small tool to provide detailed information on the hardware configuration of the machine. (svn version)"
6 url="http://ezix.org/project/wiki/HardwareLiSter"
7 license="GPL"
8 arch=(i686 x86_64)
9 depends=('gtk2')
10 provides=('lshw')
11 conflicts=('lshw')
12 makedepends=('subversion')
13 source=()
14 md5sums=()
16 _svnmod=lshw
17 _svntrunk=http://dev.ezix.org/source/packages/lshw/development
19 build() {
20   cd $startdir/src
21   # Be sure to have a ~/.subversion.  If it doesn't exist, touch it.
22   touch ~/.subversion
24   svn co $_svntrunk $_svnmod
26   msg "SVN checkout done or server timeout"
27   msg "Starting make..."
29   cp -a $_svnmod ${_svnmod}-build
30   cd ${_svnmod}-build
32   make || return 1
33   make DESTDIR=$startdir/pkg install
35   # require glade-2
36   #make gui || return 1
37   #make DESTDIR=$startdir/pkg install-gui
39   rm -rf $startdir/src/${_svnmod}-build
42 # vim:syntax=sh