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

Felix Yan felixonmars at archlinux.org
Sat Dec 19 06:46:05 UTC 2020


    Date: Saturday, December 19, 2020 @ 06:46:05
  Author: felixonmars
Revision: 779762

archrelease: copy trunk to community-staging-x86_64

Added:
  oath-toolkit/repos/community-staging-x86_64/
  oath-toolkit/repos/community-staging-x86_64/PKGBUILD
    (from rev 779761, oath-toolkit/trunk/PKGBUILD)

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

Copied: oath-toolkit/repos/community-staging-x86_64/PKGBUILD (from rev 779761, oath-toolkit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-12-19 06:46:05 UTC (rev 779762)
@@ -0,0 +1,46 @@
+# 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=2
+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