# Contributor: Carlo Landmeter # Maintainer: pkgname=mod_auth_cas pkgver=1.1 pkgrel=4 pkgdesc="An Apache httpd module for integrating with Apereo (JASIG) CAS Server project" url="https://www.apereo.org/projects/cas" arch="all" license="Apache" depends="" depends_dev="" makedepends="$depends_dev apache2-dev curl-dev pcre-dev autoconf automake libtool" install="" subpackages="" source="mod_auth_cas-$pkgver.tar.gz::https://github.com/Jasig/mod_auth_cas/archive/v$pkgver.tar.gz remove-error.h.patch openssl-1.1.patch " builddir="$srcdir/mod_auth_cas-$pkgver" prepare() { default_prepare autoreconf -vif } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="39625df051494f55cdbf5d703b0b1f244da6bb4e1a0609869158675c773abcef135e77cef32b70b4e5d5a59f82ea963a95929ae3880e367664e37c8a942c723a mod_auth_cas-1.1.tar.gz 7e0d9dd6022e8a6243ca8650e189d3ca2a35301d9966cb7e3a31b99348d6b2cd3c3f75910fd8ea891c9f5f0ba89d1a047223b72ebcd9844121228e5909868679 remove-error.h.patch ffdd07f414cc8418bff68af85fd7b69c923288130b00742d85439f690bb6d90cec6f2fe3e61abaee035823acf0e6b46f54ce71dd8f2c0ee3582d6d7412db1a40 openssl-1.1.patch"