updated on Tue Jan 24 08:00:27 UTC 2012
[aur-mirror.git] / phpsysinfo-old / PKGBUILD
blob11c757a11af346e09b8f6ef16fc93dce6a829c3e
1 pkgname=phpsysinfo-old
2 _pkgname=phpsysinfo
3 pkgver=2.5.4
4 pkgrel=2
5 pkgdesc="PHP script that displays information about the host. Old javascript-less version."
6 arch=('any')
7 license=('GPL2')
8 url="http://phpsysinfo.sourceforge.net/"
9 depends=('php')
10 optdepends=('lm_sensors: for providing temperature')
11 conflicts=('phpsysinfo')
12 source=(http://downloads.sourceforge.net/sourceforge/phpsysinfo/phpsysinfo/$pkgver/${_pkgname}-$pkgver.tar.gz)
13 md5sums=('5bf79793255ff24d5f9cbc6a62705aa7')
14 install=$pkgname.install
16 build() {
17   _instdir=${startdir}/pkg/srv/http/phpsysinfo
18   mkdir -p ${_instdir}
19   cd ${_instdir}
20   cp -ra ${srcdir}/phpsysinfo/* .  || return 1
21   mv config.php.new config.php
22   
23   # fix all the 755 perms on files
24   find * -type f -exec chmod 644 {} \;