summaryrefslogtreecommitdiff
path: root/user/ccid/APKBUILD
blob: bddade1d65d07c49b011893e105ab124d092bf61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=ccid
pkgver=1.4.30
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"
depends="pcsc-lite"
makedepends="pcsc-lite-dev libusb-dev"
source="https://ccid.apdu.fr/files/ccid-$pkgver.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
	install -Dm644 src/92_pcscd_ccid.rules "$pkgdir"/lib/udev/rules.d/92_pcscd_ccid.rules
}

sha512sums="1761a4053a99eb28184d0ffece951aec5d4b646080597b4ae36b18a31fb7a76c55fabfa57ee8e5d7f2db1a6e13d209f7fa995fe6ed067f44558bea34a26d46da  ccid-1.4.30.tar.bz2"