[arch-commits] Commit in oath-toolkit/repos (2 files)
Christian Hesse
eworm at archlinux.org
Sat Nov 7 19:43:54 UTC 2020
Date: Saturday, November 7, 2020 @ 19:43:53
Author: eworm
Revision: 745955
archrelease: copy trunk to community-testing-x86_64
Added:
oath-toolkit/repos/community-testing-x86_64/
oath-toolkit/repos/community-testing-x86_64/PKGBUILD
(from rev 745954, oath-toolkit/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: oath-toolkit/repos/community-testing-x86_64/PKGBUILD (from rev 745954, oath-toolkit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-11-07 19:43:53 UTC (rev 745955)
@@ -0,0 +1,47 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Sébastien Luttringer
+# Contributor: L42y <423300 at gmail.com>
+
+pkgname=oath-toolkit
+pkgver=2.6.3
+pkgrel=1
+pkgdesc='OATH one-time password toolkit'
+arch=('x86_64')
+url='https://www.nongnu.org/oath-toolkit/'
+license=('GPL3')
+depends=('glibc' 'pam' 'xmlsec')
+provides=('liboath.so' 'libpskc.so')
+validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # Simon Josefsson <simon at josefsson.org>
+source=("https://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+sha256sums=('a1f7fd5fc5df214eebe263233bae750596b8aeee4c8a424ed3623269115551b2'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ autoreconf -fi
+}
+
+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 0644 pam_oath/README "$pkgdir/usr/share/doc/$pkgname/PAM_README"
+ install -D -m 0644 README "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
More information about the arch-commits
mailing list