Want more features on Pastebin? Sign Up, it's FREE!
Guest

jna_PKGBUILD

By: a guest on Nov 28th, 2011  |  syntax: None  |  size: 1.09 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
  2.  
  3. pkgname=jna
  4. pkgver=3.4
  5. pkgrel=2
  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/jna.jar
  12.                 https://github.com/downloads/twall/jna/platform.jar
  13.                 setClasspath.sh)
  14. noextract=('${pkgname}.jar' 'platform.jar')
  15.  
  16. package() {
  17.         mkdir -p ${pkgdir}/usr/share/java/${pkgname}
  18.  
  19.         cd $srcdir
  20.  
  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}
  24. }
  25.  
  26. md5sums=('d3ba41fcad5df53da1fe12fc772bb8b6'
  27.          '9dcde52008553965abdbf0eb2516de45'
  28.          '80a273234fb805ba4140ffc9dd54d389')
  29. sha256sums=('35583680fa419f182facef045a6c851790147f0ca0a96418db65832ecd73afdb'
  30.             '8719110b6f7e3ac3f9306cb2f5ad7cacdb7f46de219cf1571f8db61e02e5791f'
  31.             '9af347a0f73533198bf9c607cf7330a0077a1ccbc5edb35a0e596eb7f29546b4')
  32.  
  33.  
clone this paste RAW Paste Data