summaryrefslogtreecommitdiff
path: root/pcr/cardpeek/PKGBUILD
blob: 160ce54506e10ea15272437ac1dfb5eea38a6dce (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
# Maintainer(AUR): lemust83 <lemust83420@gmail.com>
# Contributor: Pierre-Olivier Vauboin <povauboin@gmail.com>

# parabola changes and rationale:
# - Added armv7h, patch sent upstream, not reviewed yet
# - Changed License to GPL3, patch sent upstream, not reviewed yet

pkgname=cardpeek
pkgver=0.8.4
pkgrel=1
pkgdesc="A tool to read-only the contents of smartcards"
arch=('armv7h' 'i686' 'x86_64')
url="http://pannetrat.com/Cardpeek"
license=('GPL3')
depends=('gtk3' 'lua52' 'pcsclite' 'curl')

source=("http://downloads.pannetrat.com/install/${pkgname}-${pkgver}.tar.gz")
sha256sums=('9c78dfdf84493c551b49447e4bb46c8d7b33f0785b93893222b70b6115013a85')

build() {
  cd ${pkgname}-${pkgver}
  ./configure LUA_CFLAGS="-I/usr/include/lua5.2" LUA_LIBS="-llua5.2 -lm" --prefix=/usr
  make
}

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