updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jna / PKGBUILD
blob0d93436fe4fe793370778ea788a8b00ea966d587
1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
3 pkgname=jna
4 pkgver=3.4
5 pkgrel=3
6 pkgdesc="Easy access to native shared libraries for java"
7 arch=('any')
8 url="https://github.com/twall/jna"
9 license=('LGPL2.1')
10 depends=('java-runtime')
11 source=(https://github.com/downloads/twall/jna/${pkgname}.jar
12                 https://github.com/downloads/twall/jna/platform.jar
13                 setClasspath.sh)
14 noextract=('${pkgname}.jar' 'platform.jar')
16 package() {
17         mkdir -p ${pkgdir}/usr/share/java/${pkgname}
19         cd $srcdir
21         install -m644 -D jna.jar ${pkgdir}/usr/share/java/${pkgname}
22         install -m644 -D platform.jar ${pkgdir}/usr/share/java/${pkgname}
23         install -m644 -D setClasspath.sh ${pkgdir}/usr/share/java/${pkgname}
26 md5sums=('d3ba41fcad5df53da1fe12fc772bb8b6'
27          '9dcde52008553965abdbf0eb2516de45'
28          '80a273234fb805ba4140ffc9dd54d389')
29 sha256sums=('35583680fa419f182facef045a6c851790147f0ca0a96418db65832ecd73afdb'
30             '8719110b6f7e3ac3f9306cb2f5ad7cacdb7f46de219cf1571f8db61e02e5791f'
31             '9af347a0f73533198bf9c607cf7330a0077a1ccbc5edb35a0e596eb7f29546b4')