blob: a4985841763a8581f786c111eb15cb8cddea434c (
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
|
# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
pkgname=spawn-fcgi-php
pkgver=1.1.1
pkgrel=1
pkgdesc="script to provide simple cgi-php support for nginx http daemon"
arch=('any')
url="http://aur.archlinux.org/packages.php?ID=37439"
license=('GPL')
depends=('php-cgi' 'spawn-fcgi')
backup=('etc/conf.d/spawn-fcgi-php.conf')
source=(
'spawn-fcgi-php'
'spawn-fcgi-php.conf'
'server.conf.example'
'nginx.conf.example'
'public_html.conf.example'
)
build() {
# Install script and configuration file
install -Dm775 spawn-fcgi-php \
${pkgdir}/etc/rc.d/spawn-fcgi-php || return 1
install -Dm664 spawn-fcgi-php.conf \
${pkgdir}/etc/conf.d/spawn-fcgi-php.conf || return 1
# Install examples of configuration
install -Dm664 public_html.conf.example \
${pkgdir}/etc/nginx/conf/public_html.conf.example || return 1
install -Dm644 server.conf.example \
${pkgdir}/etc/nginx/conf/server.conf.example || return 1
install -Dm664 nginx.conf.example \
${pkgdir}/etc/nginx/conf/nginx.conf.example || return 1
}
# vim:set ts=2 sw=2 et ft=sh:
md5sums=('9088c130caebf43902f958c985200811'
'a8bfb0b50120c91449c8a08144706c9b'
'c02189e88531386cd67d3401924c18ae'
'00bf49fc8a0d8c9f6c96305fae8471d4'
'9202545dc3701d5933804890312667e6')
|