updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / cfg2html-linux / PKGBUILD
blobc8c7269c111c3fde62365969b43f0ab333dfb7a2
1 # Maintainer ashren < edgar_._at_._archlinux_._us >
3 pkgname=cfg2html-linux
4 pkgver=1.74
5 pkgrel=4
6 pkgdesc='Outputs a detailed system config overview as HTML.'
7 arch=('any')
8 url="http://www.cfg2html.com"
9 license=('unknown')
10 depends=('hwinfo' 'setserial')
11 source="http://www.cfg2html.com/cfg2html-linux-$pkgver-20100319_all.zip"
12 md5sums=('4cb3b311e6a11ccdac58268ff6cce243')
14 build () {
15          cd "$startdir/src"
16          
17          # Because of the way the cfg2html source is distributed (through a yahoo group
18          # and as the zip file above) a second extraction is needed.
19          tar xvf cfg2html-linux_$pkgver-1.tar.gz
20          
21          cd "cfg2html-linux-$pkgver"  
22                         
23          install -d "$startdir/pkg/usr/bin"
24          install -d "$startdir/pkg/etc/cfg2html"
25          install -d "$startdir/pkg/usr/share/man/man8"
26          install cfg2html-linux "$startdir/pkg/usr/bin"  
27          install cfg2html "$startdir/pkg/usr/bin"
28          install cfg2html-linux.8 "$startdir/pkg/usr/share/man/man8"
29          install -m 644 files "$startdir/pkg/etc/cfg2html"
30          install -m 644 systeminfo "$startdir/pkg/etc/cfg2html"
31          install -m 644 plugins "$startdir/pkg/etc/cfg2html"