blob: ddcde8a15036c697512ee034fcda4bdbed49a478 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Frederick Zhang <frederick888@tsundere.moe>
pkgname=ykchalresp-nfc
pkgver=0.1.0
pkgrel=1
pkgdesc="Perform challenge response using YubiKey via NFC"
arch=('x86_64' 'i686')
url="https://github.com/Frederick888/ykchalresp-nfc"
license=('GPL3')
source=("https://github.com/Frederick888/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('aecd2fffb8a6fec186669dfbe682046bcd42a842bc84f0b7e5337172df25aa04')
depends=('libnfc')
makedepends=('cmake' 'gengetopt')
build() {
mkdir -p "$pkgname-$pkgver/build" && cd $_
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
install -Dm755 "$pkgname-$pkgver/build/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|