summaryrefslogtreecommitdiff
path: root/pcr/cardpeek/PKGBUILD
blob: 92adec133cb58210fcc228bf69895f90e0469d51 (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(AUR): 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
}