summaryrefslogtreecommitdiff
path: root/community/oath-toolkit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-06 00:01:34 +0000
committerroot <root@rshg054.dnsready.net>2012-06-06 00:01:34 +0000
commit91734dee3e97f809fb0fcf7add40f7af90fccd87 (patch)
tree5ea3c4fcb1f01ef60e6f841415bd5f7ab78e32f0 /community/oath-toolkit
parent67db4cf68dbdb364c4dee1599294d7701f3c3b0a (diff)
Wed Jun 6 00:01:34 UTC 2012
Diffstat (limited to 'community/oath-toolkit')
-rw-r--r--community/oath-toolkit/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/oath-toolkit/PKGBUILD b/community/oath-toolkit/PKGBUILD
new file mode 100644
index 000000000..82ee965fe
--- /dev/null
+++ b/community/oath-toolkit/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 71971 2012-06-04 09:43:43Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# Contributor: Christian Hesse <mail@eworm.de>
+# Contributor: L42y <423300@gmail.com>
+
+pkgname=oath-toolkit
+pkgver=1.12.3
+pkgrel=1
+pkgdesc='OATH one-time password toolkit'
+arch=('i686' 'x86_64')
+url='http://www.nongnu.org/oath-toolkit/'
+license=('GPL3')
+depends=('pam')
+options=('!libtool')
+source=("http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('52c1d8914c4182b19dea4a82d6837eb2')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+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 ft=sh et: