summaryrefslogtreecommitdiff
path: root/pcr/cardpeek/PKGBUILD
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-02-27 20:08:34 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-02-27 20:09:10 +0100
commit1a32dd6e62787afaf1182db9cce0dc1f3eaf9cc5 (patch)
tree75808590393e10f4259c7a0f92a21e5e22d2937d /pcr/cardpeek/PKGBUILD
parent7e23bd2cb8ee9917c18289329d300b212b0dc244 (diff)
downloadabslibre-1a32dd6e62787afaf1182db9cce0dc1f3eaf9cc5.tar.gz
abslibre-1a32dd6e62787afaf1182db9cce0dc1f3eaf9cc5.tar.bz2
abslibre-1a32dd6e62787afaf1182db9cce0dc1f3eaf9cc5.zip
aur: Add cardpeak
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/cardpeek/PKGBUILD')
-rw-r--r--pcr/cardpeek/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/cardpeek/PKGBUILD b/pcr/cardpeek/PKGBUILD
new file mode 100644
index 000000000..92adec133
--- /dev/null
+++ b/pcr/cardpeek/PKGBUILD
@@ -0,0 +1,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
+}