1 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
6 pkgdesc="eToken PKI client"
8 url="http://www.aladdin-rd.ru"
10 depends=('openct' 'pcsclite')
11 makedepends=('libarchive>=2.4.12' 'rpmextract' 'unzip')
14 source=(http://www.aladdin-rd.ru/upload/iblock/55b/etokenpkiclientlinux50sp1_2009-08-18.zip)
15 md5sums=('a08ce8024f6b7bfa93aa289e345b2a12')
18 cd "$srcdir/RPM 32/RPM files/"
20 rpmextract.sh ${pkgname}-${pkgver}-0.i386.rpm
29 rm -rf $pkgdir/etc/rc.d
30 rm -rf $pkgdir/etc/init.d
31 rm -rf $pkgdir/usr/bin/eTSrv
33 mkdir $pkgdir/usr/lib/pcsc
35 cp -ra $pkgdir/usr/share/eToken/drivers $pkgdir/usr/lib/pcsc/
37 cd $pkgdir/usr/lib/pcsc/drivers/aks-ifdh.bundle/Contents/Linux
39 ln -s libAksIfdh.so.5.00 libAksIfdh.so