mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:43:12 +08:00
yubico-c-client: imported from ccr, updated to 2.15
This commit is contained in:
parent
7a98c61558
commit
e6f3364235
37
yubico-c-client/PKGBUILD
Normal file
37
yubico-c-client/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
pkgname=yubico-c-client
|
||||
_pkgname=ykclient
|
||||
pkgver=2.15
|
||||
pkgrel=1
|
||||
pkgdesc='Yubico YubiKey client C library'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/Yubico/yubico-c-client'
|
||||
license=('BSD')
|
||||
depends=('curl' 'yubico-c')
|
||||
makedepends=('help2man')
|
||||
provides=('ykclient')
|
||||
conflicts=('ykclient')
|
||||
source=("https://github.com/Yubico/$pkgname/archive/$_pkgname-2.15.tar.gz")
|
||||
sha256sums=('3863f4fc2f3320c59fcbf57862bba48bcb716fddb886840bb0dd8db14d5ab7f0')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$_pkgname-$pkgver
|
||||
|
||||
autoreconf -fi
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$_pkgname-$pkgver
|
||||
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$_pkgname-$pkgver
|
||||
|
||||
install -D -m0644 COPYING $pkgdir/usr/share/licenses/yubico-c-client/COPYING
|
||||
install -D -m0644 README $pkgdir/usr/share/doc/yubico-c-client/README
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user