mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
yubico-c: imported from ccr, increased pkgrel
This commit is contained in:
parent
766d8d6f78
commit
7a98c61558
37
yubico-c/PKGBUILD
Normal file
37
yubico-c/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
pkgname=yubico-c
|
||||||
|
_pkgname=libyubikey
|
||||||
|
pkgver=1.13
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc='Yubico YubiKey C library'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://github.com/Yubico/yubico-c'
|
||||||
|
license=('BSD')
|
||||||
|
depends=('curl' 'libusb')
|
||||||
|
provides=('libyubikey')
|
||||||
|
conflicts=('libyubikey')
|
||||||
|
makedepends=('asciidoc')
|
||||||
|
source=("https://github.com/Yubico/$pkgname/archive/libyubikey-$pkgver.tar.gz")
|
||||||
|
sha256sums=('dd046c83e67560206b0b3301ee8053922b516e3975b895804582eb8d7bdd1d79')
|
||||||
|
|
||||||
|
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/COPYING
|
||||||
|
install -D -m0644 README $pkgdir/usr/share/doc/yubico-c/README
|
||||||
|
make DESTDIR=$pkgdir install
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user