diff options
author | Michael DeGuzis | 2017-05-17 22:53:29 -0400 |
---|---|---|
committer | Michael DeGuzis | 2017-05-17 22:53:29 -0400 |
commit | 6ce8cb975f283cbd3d3a20f72aee51df02d79461 (patch) | |
tree | fd664693ef5ea588f6573fe7ca86d102933f7e3c | |
download | aur-6ce8cb975f283cbd3d3a20f72aee51df02d79461.tar.gz |
initial upload
-rw-r--r-- | .SRCINFO | 38 | ||||
-rw-r--r-- | PKGBUILD | 53 | ||||
-rw-r--r-- | guacd.service | 13 |
3 files changed, 104 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8cd6deac4905 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,38 @@ +pkgbase = guacamole-server-git + pkgdesc = Guacamole proxy daemon + pkgver = 0.9.12.incubating.r68.g04205a9b + pkgrel = 1 + url = http://guacamole.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = libpulse + makedepends = libvorbis + makedepends = openssl-1.0 + makedepends = libssh + makedepends = libvncserver + makedepends = pango + makedepends = libtelnet + depends = pango + depends = openssl + depends = libvorbis + depends = uuid + depends = libwebp + optdepends = libssh: for ssh protocol support + optdepends = libvncserver: for vnc protocol support + optdepends = freerdp: for rdp protocol support + optdepends = libpulse: for pulseaudio support + optdepends = libtelnet: for telnet protocol support + replaces = guacd + replaces = libguac + replaces = libguac-client-ssh + replaces = libguac-client-vnc + replaces = libguac-client-rdp + source = guacamole-server::git+https://github.com/apache/incubator-guacamole-server.git + source = guacd.service + md5sums = SKIP + md5sums = dfaa29349d2e73af6dac75d6cafbd762 + +pkgname = guacamole-server-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b165fbb5f215 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Michael DeGuzis <mdeguzis@gmail.com> + +pkgname=guacamole-server-git +_gitname=guacamole-server +pkgver=0.9.12.incubating.r68.g04205a9b +pkgrel=1 +pkgdesc="Guacamole proxy daemon" +arch=('i686' 'x86_64') +url="http://guacamole.sourceforge.net/" +license=('GPL3') +replaces=('guacd' 'libguac' 'libguac-client-ssh' 'libguac-client-vnc' 'libguac-client-rdp') +depends=('pango' 'openssl' 'libvorbis' 'uuid' 'libwebp') +makedepends=('git' 'libpulse' 'libvorbis' 'openssl-1.0' 'libssh' 'libvncserver' 'pango' 'libtelnet') +optdepends=('libssh: for ssh protocol support' +'libvncserver: for vnc protocol support' +'freerdp: for rdp protocol support' +'libpulse: for pulseaudio support' +'libtelnet: for telnet protocol support' +) + +source=( + "$_gitname::git+https://github.com/apache/incubator-guacamole-server.git" + 'guacd.service' + ) + +md5sums=('SKIP' + 'dfaa29349d2e73af6dac75d6cafbd762') + +pkgver() { + cd "$srcdir"/$_gitname + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir"/$_gitname + autoreconf -fi + PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig \ + CFLAGS+=" -I/usr/include/openssl-1.0" \ + LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl" \ + ./configure \ + --with-openssl \ + --prefix=/usr \ + --sbindir=/usr/bin \ + CPPFLAGS="-Wno-error=pedantic" + make +} + +package() { + cd "$srcdir"/$_gitname + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir"/usr/lib/systemd/system/ + install -Dm644 "$srcdir"/guacd.service "$pkgdir"/usr/lib/systemd/system/ +} diff --git a/guacd.service b/guacd.service new file mode 100644 index 000000000000..adf99a9c55d4 --- /dev/null +++ b/guacd.service @@ -0,0 +1,13 @@ +[Unit] +Description=Guacamole Proxy Daemon +After=network.target + +[Service] +Type=forking +PIDFile=/var/run/guacd.pid +ExecStart=/usr/bin/guacd -p /var/run/guacd.pid +Restart=on-failure + +[Install] +WantedBy=multi-user.target + |