[arch-commits] Commit in yubikey-personalization/repos (2 files)

Christian Hesse eworm at archlinux.org
Tue Jan 16 12:44:55 UTC 2018


    Date: Tuesday, January 16, 2018 @ 12:44:52
  Author: eworm
Revision: 283242

archrelease: copy trunk to community-testing-x86_64

Added:
  yubikey-personalization/repos/community-testing-x86_64/
  yubikey-personalization/repos/community-testing-x86_64/PKGBUILD
    (from rev 283241, yubikey-personalization/trunk/PKGBUILD)

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

Copied: yubikey-personalization/repos/community-testing-x86_64/PKGBUILD (from rev 283241, yubikey-personalization/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-01-16 12:44:52 UTC (rev 283242)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=yubikey-personalization
+_shortname=ykpers
+pkgver=1.18.1
+pkgrel=1
+pkgdesc='Yubico YubiKey Personalization library and tool'
+arch=('x86_64')
+url='https://github.com/Yubico/yubikey-personalization'
+license=('BSD')
+depends=('libusb' 'yubico-c-client')
+# We need systemd to be installed for udev version check
+makedepends=('systemd')
+provides=('ykpers')
+conflicts=('ykpers')
+validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors <klas at yubico.com>
+source=("https://developers.yubico.com/${pkgname}/Releases/${_shortname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('9ffdb938121a867aa0b350b49daff5807884c2268dfe6d245d133474cd9c5256'
+            'SKIP')
+
+build() {
+	cd "${_shortname}-${pkgver}"
+
+	./configure \
+		--prefix=/usr \
+		--with-udevrulesdir=/usr/lib/udev/rules.d/
+	make
+}
+
+check() {
+	cd "${_shortname}-${pkgver}"
+
+	make check
+}
+
+package() {
+	cd "${_shortname}-${pkgver}"
+
+	install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/yubikey-personalization/COPYING"
+	install -D -m0644 README "${pkgdir}/usr/share/doc/yubikey-personalization/README"
+	make DESTDIR="${pkgdir}/" install
+}
+



More information about the arch-commits mailing list