blob: fff45430ae6c045a757fa6085a8194d35d190a68 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Find this package on https://github.com/pietmacom/kopano-pkgbuilds.git
# Maintainer: MartiMcFly <martimcfly [at] autorisation.de>
pkgname='kopano-webapp-nginx'
pkgver=1
pkgrel=1
pkgdesc='NGINX-, PHP-FPM-Settings'
groups=(
'kopano'
)
arch=(
'any'
)
source=(
'nginx-location.conf'
'nginx-ssl.example.conf'
'php-fpm.example.conf'
'kopano-webapp.conf'
)
md5sums=(
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)
depends=(
'kopano-webapp'
'nginx'
'php-fpm'
'php'
)
backup=(
"etc/php/fpm.d/${pkgname}.conf"
)
package() {
cd ${srcdir}
# NGINX
mkdir -p ${pkgdir}/usr/share/doc/${pkgname}
cp nginx-location.conf nginx-ssl.example.conf php-fpm.example.conf \
${pkgdir}/usr/share/doc/${pkgname}
# PHP-FPM
mkdir -p ${pkgdir}/etc/php/fpm.d
cp kopano-webapp.conf ${pkgdir}/etc/php/fpm.d
}
|