1 # Maintainer: Si Feng <sci.feng at gmail.com>
2 # Contributor: Sergej Pupykin <arch at sergej.pp.ru>
7 pkgdesc="Cross-platform VNC-based and Web-based Management for Citrix XenServer and Xen Cloud Platform"
9 url="http://www.xvpsource.org"
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)
17 cd "$srcdir/$pkgname-$pkgver"
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
27 php_flag display_startup_errors off
28 php_flag display_errors off
29 php_flag html_errors off
32 md5sums=('1e7a9e1cb05d0fd3f8bf3059ae4ef8f0')