1 # Maintainer: Heiko Baums <heiko@baums-on-web.de>
6 pkgdesc="PCSC driver for Identive (formerly SCM Microsystems) SCL011 nPA Reader"
7 url="http://www.identive-infrastructure.com"
11 [ "$CARCH" = "i686" ] && _arch=32bit
12 [ "$CARCH" = "x86_64" ] && _arch=64bit
13 source=(http://support.identive-infrastructure.com/download/npa/scl011_${pkgver}_linux_${_arch}.tar.gz)
14 [ "$CARCH" = "i686" ] && md5sums=('04f18aeebbca688029d0783b0d0ccb2f')
15 [ "$CARCH" = "x86_64" ] && md5sums=('b65e80c081b4e3b7cce1715fb8e1b30e')
18 cd ${srcdir}/scl011_${pkgver}_linux_${_arch}
20 install -d -m755 -o root -g root ${pkgdir}/usr/share/licenses/${pkgname}
21 install -d -m755 -o root -g root ${pkgdir}/usr/lib/pcsc/drivers
22 install -d -m700 -o root -g root ${pkgdir}/usr/lib/pcsc/drivers/SCL011.bundle
23 install -d -m700 -o root -g root ${pkgdir}/usr/lib/pcsc/drivers/SCL011.bundle/Contents
24 install -d -m700 -o root -g root ${pkgdir}/usr/lib/pcsc/drivers/SCL011.bundle/Contents/Linux
25 install -D -m600 -o root -g root proprietary/SCL011.bundle/Contents/Info.plist ${pkgdir}/usr/lib/pcsc/drivers/SCL011.bundle/Contents
26 install -D -m700 -o root -g root proprietary/SCL011.bundle/Contents/Linux/libSCL011.so.2.06 ${pkgdir}/usr/lib/pcsc/drivers/SCL011.bundle/Contents/Linux
27 install -D -m644 -o root -g root proprietary/license ${pkgdir}/usr/share/licenses/${pkgname}