[arch-commits] Commit in oath-toolkit/repos (2 files)
Christian Hesse
eworm at archlinux.org
Wed Nov 11 21:34:18 UTC 2020
Date: Wednesday, November 11, 2020 @ 21:34:17
Author: eworm
Revision: 751253
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 751252, oath-toolkit/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: oath-toolkit/repos/community-testing-x86_64/PKGBUILD (from rev 751252, oath-toolkit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-11-11 21:34:17 UTC (rev 751253)
@@ -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.4
+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=('bfc6255ead837e6966f092757a697c3191c93fa58323ce07859a5f666d52d684'
+ '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