summaryrefslogblamecommitdiff
path: root/user/ccid/APKBUILD
blob: d40e839541917d8acf329d5cc84e49435dddf012 (plain) (tree)






























                                                                                                                                                                  
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=ccid
pkgver=1.4.29
pkgrel=0
pkgdesc="Open-source driver for Chip/SmartCard Interface Devices (CCID)"
url="https://ccid.apdu.fr/"
arch="all"
options="!check" # no tests
license="LGPL-2.1+ AND GPL-2.0+ AND ISC"
makedepends="pcsc-lite-dev libusb-dev"
source="https://ccid.apdu.fr/files/ccid-$pkgver.tar.bz2"
sha512sums="9ff37acad086e959f660069b245fe06ecada140623025a19dfbff55edec71e1e72bce09ac4fc506ad985dd0831dafc6b12f5a5b109b38bf9ba7583856eb19418  ccid-1.4.29.tar.bz2"

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

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