[arch-commits] Commit in oath-toolkit/repos (2 files)
Christian Hesse
eworm at archlinux.org
Sun May 2 20:33:57 UTC 2021
Date: Sunday, May 2, 2021 @ 20:33:57
Author: eworm
Revision: 926192
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 926191, oath-toolkit/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: oath-toolkit/repos/community-testing-x86_64/PKGBUILD (from rev 926191, oath-toolkit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-05-02 20:33:57 UTC (rev 926192)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Sébastien Luttringer
+# Contributor: L42y <423300 at gmail.com>
+
+pkgname=oath-toolkit
+pkgver=2.6.7
+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=('36eddfce8f2f36347fb257dbf878ba0303a2eaafe24eaa071d5cd302261046a9'
+ 'SKIP')
+
+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