[arch-commits] Commit in oath-toolkit/repos (2 files)

Christian Hesse eworm at archlinux.org
Tue Dec 29 15:23:10 UTC 2020


    Date: Tuesday, December 29, 2020 @ 15:23:10
  Author: eworm
Revision: 797211

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 797210, oath-toolkit/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: oath-toolkit/repos/community-testing-x86_64/PKGBUILD (from rev 797210, oath-toolkit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-12-29 15:23:10 UTC (rev 797211)
@@ -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.5
+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=('d207120c7e7fdd540142d04ca06d83fb3277c8f2fb794a74535d04b2aa0ec219'
+            '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