updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / guacamole / PKGBUILD
blob413d775d20f6b913f305181ee81ab426dc71e779
1 # Maintainer: Joshua Stiefer <facedelajunk@gmail.com>
2 pkgname=guacamole
3 pkgver=0.5.0
4 pkgrel=1
5 pkgdesc="An HTML5 web application that provides access to your desktop using remote desktop protocols."
6 arch=('any')
7 url="http://guacamole.sourceforge.net/"
8 license=('GPL3')
9 depends=('guacd' 'java-environment' 'tomcat6')
10 makedepends=('maven')
11 optdepends=()
12 provides=()
13 install=$pkgname.install
14 source=(http://sourceforge.net/projects/guacamole/files/current/source/guacamole/$pkgname-$pkgver.tar.gz
15         $pkgname.install)
16 md5sums=('0179602021643ec678c67961997ee8e7'
17          '3fe7d844e2461aeb0147d9787d48d5f5')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   /opt/maven/bin/mvn package
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
26   install -Dm600 $srcdir/$pkgname-$pkgver/target/guacamole-default-webapp-$pkgver.war $pkgdir/var/lib/guacamole/guacamole.war
27   install -Dm755 $srcdir/$pkgname-$pkgver/doc/example/guacamole.properties $pkgdir/etc/guacamole/guacamole.properties
28   install -Dm755 $srcdir/$pkgname-$pkgver/doc/example/user-mapping.xml $pkgdir/etc/guacamole/user-mapping.xml
31 # vim:set ts=2 sw=2 et: