[arch-commits] Commit in yubico-pam/repos (2 files)

Christian Hesse eworm at archlinux.org
Mon Dec 25 20:08:14 UTC 2017


    Date: Monday, December 25, 2017 @ 20:08:06
  Author: eworm
Revision: 276037

archrelease: copy trunk to community-staging-x86_64

Added:
  yubico-pam/repos/community-staging-x86_64/
  yubico-pam/repos/community-staging-x86_64/PKGBUILD
    (from rev 276036, yubico-pam/trunk/PKGBUILD)

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

Copied: yubico-pam/repos/community-staging-x86_64/PKGBUILD (from rev 276036, yubico-pam/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-25 20:08:06 UTC (rev 276037)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=yubico-pam
+_shortname=pam_yubico
+pkgver=2.24
+pkgrel=4
+pkgdesc='Yubico YubiKey PAM module'
+arch=('x86_64')
+url='https://github.com/Yubico/yubico-pam'
+license=('BSD')
+depends=('pam' 'yubico-c-client' 'yubikey-personalization' 'json-c')
+checkdepends=('perl-net-ldap-server')
+provides=("${_shortname}")
+conflicts=("${_shortname}")
+validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors <klas at yubico.com>
+source=("https://developers.yubico.com/${pkgname}/Releases/${_shortname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('0326ff676e2b32ed1dda7fb5f1358a22d629d71caad8f8db52138bbf3e95e82d'
+            'SKIP')
+
+build() {
+	cd "${_shortname}-${pkgver}"
+
+	./configure \
+		--prefix=/usr
+	make
+}
+
+check() {
+	cd "${_shortname}-${pkgver}"
+
+	make check
+}
+
+package() {
+	cd "${_shortname}-${pkgver}"
+
+	install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/yubico-pam/COPYING"
+	install -D -m0644 README "${pkgdir}/usr/share/doc/yubico-pam/README"
+	make DESTDIR="${pkgdir}/" install
+}
+



More information about the arch-commits mailing list