updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / xvp / PKGBUILD
blob93002277a7cc3124563801b592c01343e7472660
1 # Maintainer: Si Feng <sci.feng at gmail.com>
2 # Contributor: Sergej Pupykin <arch at sergej.pp.ru>
4 pkgname=xvp
5 pkgver=1.11.0
6 pkgrel=1
7 pkgdesc="Cross-platform VNC-based and Web-based Management for Citrix XenServer and Xen Cloud Platform"
8 arch=(i686 x86_64)
9 url="http://www.xvpsource.org"
10 license=('GPL2')
11 depends=(libxml2 curl libxenserver php php-curl php-mcrypt)
12 makedepends=(java-environment)
13 backup=(srv/http/xvpweb/.htaccess)
14 source=(http://www.xvpsource.org/xvp-$pkgver.tar.gz)
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   make || return 1
20   make DESTDIR="$pkgdir/" install || return 1
22   mkdir -p $pkgdir/srv/http/
23   cp -r web $pkgdir/srv/http/xvpweb || return 1
25   cat >$pkgdir/srv/http/xvpweb/.htaccess <<EOF
26 deny from all
27 php_flag display_startup_errors off
28 php_flag display_errors off
29 php_flag html_errors off
30 EOF
32 md5sums=('1e7a9e1cb05d0fd3f8bf3059ae4ef8f0')