2 # Contributor: filip <fila pruda.com>
7 pkgdesc="Apache PostgreSQL Authentication Module"
9 url="http://www.giuseppetanzilli.it/mod_auth_pgsql2/"
11 depends=('apache' 'postgresql')
12 install=mod_auth_pgsql.install
13 source=(http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/$pkgname-$pkgver.tar.gz)
15 md5sums=('d44074b3b9bdb0a5eb9702814872ad43')
18 cd "${srcdir}/$pkgname-${pkgver}"
20 /usr/sbin/apxs -c -I /usr/include/postgresql -L /usr/lib/postgresql -lpq mod_auth_pgsql.c || return 1
21 install -D -m755 .libs/mod_auth_pgsql.so $startdir/pkg/usr/lib/httpd/modules/mod_auth_pgsql.so