blob: b17941a66cba6b5b3c7c81496e1caa42bed6ee7f (
plain)
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
34
35
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=acsccid
pkgver=1.1.6
pkgrel=0
pkgdesc="PCSC driver for ACS CCID smart card reader"
url="https://github.com/acshk/acsccid"
arch="all"
license="LGPL"
depends="pcsc-lite"
makedepends="pcsc-lite-dev libusb-dev perl flex"
options="!check" # upstream does not provide tests
subpackages="$pkgname-udev::noarch"
source="https://downloads.sourceforge.net/acsccid/acsccid-${pkgver}.tar.bz2"
builddir="$srcdir/"${pkgname}-${pkgver}
build() {
cd "$builddir"
./configure --prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
udev() {
pkgdesc="$pkgdesc (udev rules)"
install_if="$pkgname=$pkgver-r$pkgrel udev"
cd "$builddir"
install -Dm644 src/92_pcscd_acsccid.rules "$subpkgdir/etc/udev/rules.d/92_pcscd_acsccid.rules"
}
sha512sums="eeaa4601f0a0f97b1e4d6b5189da551ebd2cb0e309d59ff018e21771139d913714afb351ed6a685cc066be97fd6a7334fa6c28a934e427550daace8b5ebeb0bc acsccid-1.1.6.tar.bz2"
|