summaryrefslogtreecommitdiff
path: root/community/fcgiwrap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcgiwrap/PKGBUILD')
-rw-r--r--community/fcgiwrap/PKGBUILD33
1 files changed, 19 insertions, 14 deletions
diff --git a/community/fcgiwrap/PKGBUILD b/community/fcgiwrap/PKGBUILD
index 7720ea652..e3c68122d 100644
--- a/community/fcgiwrap/PKGBUILD
+++ b/community/fcgiwrap/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 28017 2010-10-01 16:05:40Z aschaefer $
-# Maintainer: Aaron Bull Schaefer <aaron@elasticdog.com>
+# $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=1
-pkgdesc='A simple server for running CGI applications over FastCGI'
+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=("http://github.com/downloads/gnosek/fcgiwrap/$pkgname-$pkgver.tar.gz"
- 'fcgiwrap.conf.d' 'fcgiwrap.rc.d' 'LICENSE')
-md5sums=('be73d90df7c4442084463e2815fc213d' '9fbb5b0e861ffea74e655143a4c1a8f9'
- '71ea12f43aebca39f73ff2e0b684f361' '5aee62c27b4308f25ab32f05da387366')
+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"
+ cd "${srcdir}/gnosek-${pkgname}-${_gitrev}"
autoreconf --install
./configure --prefix=/usr
@@ -26,10 +31,10 @@ build() {
}
package() {
- cd "$srcdir/gnosek-$pkgname-$_gitrev"
+ cd "${srcdir}/gnosek-${pkgname}-${_gitrev}"
- make DESTDIR="$pkgdir" install
- install -D -m644 ../fcgiwrap.conf.d "$pkgdir/etc/conf.d/$pkgname"
- install -D -m755 ../fcgiwrap.rc.d "$pkgdir/etc/rc.d/$pkgname"
- install -D -m644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ 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"
}