blob: e3c68122d71a6a81453f37d8e77f3a178267badd (
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
|
# $Id: PKGBUILD 57830 2011-11-03 10:18:16Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Aaron Bull Schaefer <aaron@elasticdog.com>
# Contributor: Ron Huang <ronhuang+aur at gmail dot com>
pkgname=fcgiwrap
pkgver=1.0.3
_gitrev='2e301c8'
pkgrel=2
pkgdesc='A simple server for running CGI applications over FastCGI.'
arch=('i686' 'x86_64')
url='http://nginx.localdomain.pl/wiki/FcgiWrap'
license=('MIT')
depends=('fcgi' 'spawn-fcgi')
backup=('etc/conf.d/fcgiwrap')
source=("https://github.com/downloads/gnosek/fcgiwrap/${pkgname}-${pkgver}.tar.gz"
'fcgiwrap.conf.d'
'fcgiwrap.rc.d'
'LICENSE')
md5sums=('be73d90df7c4442084463e2815fc213d'
'9fbb5b0e861ffea74e655143a4c1a8f9'
'71ea12f43aebca39f73ff2e0b684f361'
'5aee62c27b4308f25ab32f05da387366')
build() {
cd "${srcdir}/gnosek-${pkgname}-${_gitrev}"
autoreconf --install
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/gnosek-${pkgname}-${_gitrev}"
make DESTDIR="${pkgdir}" install
install -Dm0644 ../fcgiwrap.conf.d "${pkgdir}/etc/conf.d/${pkgname}"
install -Dm0755 ../fcgiwrap.rc.d "${pkgdir}/etc/rc.d/${pkgname}"
install -Dm0644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|