[arch-commits] Commit in yubikey-personalization/repos (2 files)
Christian Hesse
eworm at archlinux.org
Fri Feb 9 06:53:56 UTC 2018
Date: Friday, February 9, 2018 @ 06:53:55
Author: eworm
Revision: 290431
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 290430, yubikey-personalization/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: yubikey-personalization/repos/community-testing-x86_64/PKGBUILD (from rev 290430, yubikey-personalization/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-02-09 06:53:55 UTC (rev 290431)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=yubikey-personalization
+_shortname=ykpers
+pkgver=1.18.1
+pkgrel=2
+pkgdesc='Yubico YubiKey Personalization library and tool'
+arch=('x86_64')
+url='https://github.com/Yubico/yubikey-personalization'
+license=('BSD')
+depends=('libusb' 'json-c' '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