summaryrefslogtreecommitdiff
path: root/community/oath-toolkit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/oath-toolkit
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/oath-toolkit')
-rw-r--r--community/oath-toolkit/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/oath-toolkit/PKGBUILD b/community/oath-toolkit/PKGBUILD
new file mode 100644
index 000000000..e5aee3cbc
--- /dev/null
+++ b/community/oath-toolkit/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 93727 2013-07-08 23:58:49Z seblu $
+# Maintainer: Sébastien Luttringer
+# Contributor: Christian Hesse <mail@eworm.de>
+# Contributor: L42y <423300@gmail.com>
+
+pkgname=oath-toolkit
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='OATH one-time password toolkit'
+arch=('i686' 'x86_64')
+url='http://www.nongnu.org/oath-toolkit/'
+license=('GPL3')
+depends=('glibc' 'pam' 'xmlsec')
+options=('!libtool')
+source=("http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('2afc64577936a1a79cff72b0718c9636')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # Install basic docs too
+ install -D -m 644 pam_oath/README "$pkgdir/usr/share/doc/$pkgname/PAM_README"
+ install -D -m 644 README "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
+# vim:set ts=2 sw=2 et: