updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / oath-toolkit / PKGBUILD
blobe6a0ba397888d127142f4322aea9546b8f30ccc9
1 # Contributor: L42y <423300@gmail.com>
2 # Maintainer: Christian Hesse <mail@eworm.de>
4 pkgname=oath-toolkit
5 pkgver=1.10.5
6 pkgrel=1
7 pkgdesc="The OATH Toolkit attempts to collect several tools that are useful when deploying technologies related to OATH"
8 arch=('i686' 'x86_64')
9 url="http://www.nongnu.org/oath-toolkit/"
10 license=('GPL')
11 depends=('pam')
12 source=(http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
14 build() {
15   cd "${srcdir}/${pkgname}-${pkgver}"
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
23   make DESTDIR="${pkgdir}/" install
25   # PAM doesn't look here anyway
26   rm -rf ${pkgdir}/usr/lib/security
27   install -D -m 755 pam_oath/.libs/pam_oath.so ${pkgdir}/lib/security/pam_oath.so
29   # Install basic docs too
30   install -D -m 644 pam_oath/README ${pkgdir}/usr/share/doc/oath-toolkit/PAM_README
31   install -D -m 644 README ${pkgdir}/usr/share/doc/oath-toolkit/README
33 md5sums=('b15754a7419592c57b8a98cc413eb873')