updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / eid-viewer / PKGBUILD
blob4ce915f048ad6dec138e440728d5b423ddd76a24
1 # Maintainer: Vianney le Clément <vleclement AT gmail·com>
2 pkgname=eid-viewer
3 _version=4.0.0
4 _revision=71
5 pkgver=$_version.$_revision
6 pkgrel=1
7 pkgdesc="Viewer for Belgian Electronic Identity Card"
8 arch=(any)
9 url="https://code.google.com/p/eid-viewer/"
10 license=('LGPL3')
11 depends=('java-runtime' 'pcsclite')
12 makedepends=('subversion')
13 source=(https://$pkgname.googlecode.com/files/$pkgname-$_version-$_revision.tar.gz
14         eid-viewer.sh
15         eid-viewer.png
16         eid-viewer.desktop)
17 md5sums=('36f80890de09827275dd38c9c9ed5b76'
18          '6c990e0061b26034f28da243d7c2d151'
19          'f0b7ae4b674fbcea348135ea3cd3b4fb'
20          '1a464128174ddf4e9496e34bf00f1906')
22 package() {
23   cd "$srcdir"
24   
25   for f in $(find -name '*.jar'); do
26     install -Dm644 $f "$pkgdir/usr/share/java/eid-viewer/$(basename $f)"
27   done
28   
29   install -Dm755 eid-viewer.sh "$pkgdir/usr/bin/eid-viewer"
30   install -Dm644 eid-viewer.png "$pkgdir/usr/share/pixmaps/eid-viewer.png"
31   install -Dm644 eid-viewer.desktop "$pkgdir/usr/share/applications/eid-viewer.desktop"
34 # vim:set ts=2 sw=2 et: