summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d863e3eabf11467995e7e4d251411adb36cf35f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Christoph Bayer <chrbayer@criby.de>

pkgname=mod_authn_otp
pkgver=1.1.9
pkgrel=2
pkgdesc='Apache module for one time password authentication'
arch=('i686' 'x86_64')
url='https://github.com/archiecobbs/mod-authn-otp'
license=('Apache')
depends=('openssl')
makedepends=('apache')
source=("https://s3.amazonaws.com/archie-public/mod-authn-otp/${pkgname}-${pkgver}.tar.gz")
md5sums=('8e2ba07ca2cef76e8de8bae9bb2baf98')

package() {
  cd $srcdir/${pkgname}-${pkgver}
  ./configure
  make || return 1
  mkdir -p "${pkgdir}/usr/lib/httpd/modules/"
  make DESTDIR="${pkgdir}" install
}