blob: bcd2014414d2e1b7d0823622d1a58680769d9ae9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Joan Figueras <ffigue at gmail dot com>
# Contributor: Black_Codec <orso.f.regna@gmail.com>
pkgname=guacamole-auth-jdbc-bin
pkgver=1.5.5
pkgrel=1
pkgdesc="Apache Guacamole is a clientless remote desktop gateway. Database authentication extension for jdbc."
arch=('any')
url="https://guacamole.apache.org/"
license=('GPL3')
depends=('guacamole-client')
source=("https://archive.apache.org/dist/guacamole/${pkgver}/binary/guacamole-auth-jdbc-${pkgver}.tar.gz")
install=guacamole-auth.install
md5sums=('9b8d0cfc6daa09349454ba0c68c150ad')
package() {
cd "${srcdir}/guacamole-auth-jdbc-${pkgver}"
mkdir -p "${pkgdir}"/etc/guacamole/extensions
mkdir -m 775 -p "${pkgdir}"/usr/share/guacamole
for _s in mysql postgresql sqlserver ; do
mkdir -m 775 -p "${pkgdir}"/usr/share/guacamole/sql/${_s}
install -m 644 -D ${_s}/guacamole-auth-jdbc-${_s}-${pkgver}.jar "${pkgdir}"/etc/guacamole/extensions/
cp -r ${_s}/schema "${pkgdir}"/usr/share/guacamole/sql/${_s}/
done
}
|