summaryrefslogblamecommitdiff
path: root/user/yubikey-personalization/APKBUILD
blob: 7fff4715881b67f3cc19703d05deef2128104a1c (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                           
             




                                                                          
                                                            

                                                                                                                         
         
           



                       









                                         


                  

                                       
                                                                                                                                                                                   
                                                                                                                                                        
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=yubikey-personalization
pkgver=1.20.0
pkgrel=0
pkgdesc="Cross-platform library & tools for personalizing YubiKey devices"
url="https://developers.yubico.com/yubikey-personalization/"
arch="all"
license="BSD-2-Clause AND Public-Domain"
depends=""
makedepends="yubico-c-dev libusb-dev json-c-dev asciidoctor"
subpackages="$pkgname-dev $pkgname-doc"
source="yubikey-personalization-$pkgver.tar.gz::https://github.com/Yubico/yubikey-personalization/archive/v$pkgver.tar.gz
	use-asciidoctor.patch
	"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make A2X=asciidoctor
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir/" install
}

sha512sums="a38b26700793f0a801e5f5889bbbce4a3f728d22aaecf8d0890f1b5135e67bed16a78b7a36dbc323c5d296901f6dd420fa658a982492a0cd9f0bbf95a5fbc823  yubikey-personalization-1.20.0.tar.gz
d6777a43e5e57430268bb50ab704641465a7314b15fc821d8bfa7f0c6510829d0118ced426cd5f8730589efe6264df6b82fc70e8bfe3d8b7d735e51339a25af2  use-asciidoctor.patch"