summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1ff8f2d5fd90a62b8cbc634a4ded48e3a7a08b2 (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
36
37
38
39
40
41
# Maintainer: MartiMcFly <martimcfly at autorisation de

pkgname=asekey
pkgver=3.7
pkgrel=5
pkgdesc="ASEKey USB and SIM Reader driver for PCSC Lite"
arch=(
      'armv6h'
      'armv7h'
      'i686'
      'x86_64'
     )
license=(
         "LGPL"
        )
depends=(
         'pcsclite'
         'libusb-compat'
        )
url="http://www.athena-scs.com/support/software-driver-downloads"
source=(
        "http://www.athena-scs.com/docs/reader-drivers/asekey-3-7-tar.bz2"
        "plist.patch"
       )
md5sums=(
         '2a66073c202e10becd8a0cdc55a720a9'
         '54a6bdf6a9e4a0b980a278227f32f93e'
         )

build() {
	cd "$srcdir/${pkgname}-${pkgver}"
	patch -p1 < "${srcdir}"/plist.patch
	./configure --prefix=/usr --with-udev-rules-dir=/usr/lib/udev/rules.d
        make
}

package() {
	cd "$srcdir/${pkgname}-${pkgver}"
	make DESTDIR="$pkgdir" install
}