diff options
Diffstat (limited to 'community/fcgiwrap/PKGBUILD')
-rw-r--r-- | community/fcgiwrap/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/fcgiwrap/PKGBUILD b/community/fcgiwrap/PKGBUILD new file mode 100644 index 000000000..068d81a63 --- /dev/null +++ b/community/fcgiwrap/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 92086 2013-05-31 10:35:32Z seblu $ +# 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.1.0 +pkgrel=3 +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' 'systemd') +source=("https://github.com/gnosek/fcgiwrap/archive/${pkgver}.tar.gz" + 'LICENSE') +md5sums=('d14f56bda6758a6e02aa7b3fb125cbce' + '5aee62c27b4308f25ab32f05da387366') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + autoreconf --install + # Here --sbindir is implicitly prefixed by /usr + ./configure --prefix=/usr --mandir=/share/man --sbindir=/bin + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm0644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |