[arch-commits] Commit in libpam-google-authenticator/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Dec 11 07:49:48 UTC 2017
Date: Monday, December 11, 2017 @ 07:49:47
Author: felixonmars
Revision: 273682
archrelease: copy trunk to community-x86_64
Added:
libpam-google-authenticator/repos/community-x86_64/
libpam-google-authenticator/repos/community-x86_64/PKGBUILD
(from rev 273681, libpam-google-authenticator/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: libpam-google-authenticator/repos/community-x86_64/PKGBUILD (from rev 273681, libpam-google-authenticator/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-12-11 07:49:47 UTC (rev 273682)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: robertfoster
+
+pkgname=libpam-google-authenticator
+pkgver=1.05
+pkgrel=1
+pkgdesc='PAM module for google authenticator app'
+arch=('x86_64')
+url="https://github.com/google/google-authenticator-libpam"
+license=('Apache')
+depends=('pam')
+optdepends=('qrencode: scannable QR codes for google auth phone app')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/google/google-authenticator-libpam/archive/$pkgver.tar.gz")
+sha512sums=('d97b26c6181dbce0612628484db37b1bf61e984fb2fb3d4974d04038e564404aa17415368dba524f0d17d96ec8d57ae4129b27f0c672d849d16ef03941d87996')
+
+build() {
+ cd google-authenticator-libpam-$pkgver
+ ./bootstrap.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd google-authenticator-libpam-$pkgver
+ make DESTDIR="$pkgdir" install
+ libtool --finish "$pkgdir"/usr/lib/security
+}
More information about the arch-commits
mailing list