# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=pam-pgsql pkgver=0.7.3.2 pkgrel=3 pkgdesc="PAM module to authenticate using a PostgreSQL database" url="https://sourceforge.net/projects/pam-pgsql/" arch="all" license="GPL-2.0-or-later" makedepends="$depends_dev linux-pam-dev libpq-dev libgcrypt-dev bsd-compat-headers" subpackages="$pkgname-doc" source="https://downloads.sourceforge.net/project/pam-pgsql/pam-pgsql/0.7/pam-pgsql-$pkgver.tar.gz" prepare() { default_prepare update_config_sub } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libdir=/lib # for pam module make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" d5766e56a13b0b4762fba10d624d12f130f2675f1f1772eaaf275b599f44adcf98287c2636462ba3faf46af139eb1bd157918c0c783040796562f37dec17a6d9 pam-pgsql-0.7.3.2.tar.gz "