mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
06e333995c
- disable gtk-doc
41 lines
954 B
Bash
41 lines
954 B
Bash
pkgname=libu2f-host
|
|
pkgver=1.1.5
|
|
pkgrel=1
|
|
pkgdesc="Yubico Universal 2nd Factor (U2F) Host C Library"
|
|
arch=('x86_64')
|
|
url='https://github.com/Yubico/libu2f-host'
|
|
license=('BSD')
|
|
depends=('json-c' 'hidapi')
|
|
makedepends=('git' 'help2man' 'gengetopt')
|
|
validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A'
|
|
'D459FCC2041AC8FEF297D53EB4AA8C689E629EAC')
|
|
source=("https://developers.yubico.com/${pkgname}/Releases/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=('f32b71435edf6e412f2971edef411f3b4edb419a5356553ad57811ece4a63a95'
|
|
'SKIP')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-gtk-doc=no \
|
|
--enable-static=no \
|
|
--with-udevrulesdir=/usr/lib/udev/rules.d/
|
|
make
|
|
}
|
|
|
|
|
|
check() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}/" install
|
|
|
|
install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|