4.1.0 is out, please update!
Search Criteria
Package Details: jna 3.5.1-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2013-05-18)
| Package Base: | jna |
|---|---|
| Description: | Easy access to native shared libraries for java |
| Upstream URL: | https://github.com/twall/jna |
| Category: | lib |
| Licenses: | |
| Submitter: | None |
| Maintainer: | ur6lad |
| Last Packager: | None |
| Votes: | 18 |
| First Submitted: | 2008-06-29 05:23 |
| Last Updated: | 2012-12-01 07:08 |
Dependencies (1)
Required by (1)
Sources
Latest Comments
Comment by hav3lock
Comment by marcs
Version 3.5.2 is out, check it out:
https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna/3.5.2/jna-3.5.2.jar
https://maven.java.net/content/repositories/releases/net/java/dev/jna/platform/3.5.2/platform-3.5.2.jar
Comment by cb73
Hi.
IMHO, it would be better to create the symlinks inside the /usr/share/java directory, as it is done e.g. by the junit package.
Compare...
/usr/share/java:
unit-dep.jar -> junit/junit-dep-4.11.jar
junit.jar -> junit/junit-4.11.jar
/usr/share/java/jna:
jna.jar -> jna-3.5.1.jar
platform.jar -> platform-3.5.1.jar
Comment by ur6lad
3.5.1
Comment by jay7
I've tried to build jna today and it fails to fetch files. So I've updated PKGBUILD
--- PKGBUILD.orig 2012-04-05 00:30:43.000000000 +0400
+++ PKGBUILD 2012-10-29 02:43:51.314653358 +0400
@@ -1,17 +1,24 @@
# Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
pkgname=jna
-pkgver=3.4
-pkgrel=4
+pkgver=3.5.1
+pkgrel=1
pkgdesc="Easy access to native shared libraries for java"
arch=('any')
url="https://github.com/twall/jna"
license=('LGPL2.1')
depends=('java-runtime')
-source=(https://github.com/downloads/twall/jna/${pkgname}.jar
- https://github.com/downloads/twall/jna/platform.jar
- setClasspath.sh)
+source=(${pkgname}.jar::https://github.com/twall/jna/blob/${pkgver}/dist/${pkgname}.jar?raw=true
+ platform.jar::https://github.com/twall/jna/blob/${pkgver}/dist/platform.jar?raw=true
+ setClasspath.sh)
noextract=('${pkgname}.jar' 'platform.jar')
+md5sums=('3bf50041456344265ba61800320215e5'
+ 'd043c649e84b8039e4fa2341d532f9d9'
+ '6143253b0547e9c81f747d42b97a5781')
+sha256sums=('7bc4f52bd8157e9b7ac08eaec9b1e1b582ee2011516b37b3fe42a6db65258a74'
+ 'aab5624b13b884f05316886234e35acab7856bed704f0a8cf4f0a120f331d095'
+ '16de3dc2b354453f309aac9f1ce45a2db30aae51295c0753cb26d5e9f6676a24')
+
package() {
mkdir -p ${pkgdir}/usr/share/java/${pkgname}
@@ -23,9 +30,3 @@
install -m644 -D setClasspath.sh ${pkgdir}/usr/share/java/${pkgname}
}
-md5sums=('d3ba41fcad5df53da1fe12fc772bb8b6'
- '9dcde52008553965abdbf0eb2516de45'
- '6143253b0547e9c81f747d42b97a5781')
-sha256sums=('35583680fa419f182facef045a6c851790147f0ca0a96418db65832ecd73afdb'
- '8719110b6f7e3ac3f9306cb2f5ad7cacdb7f46de219cf1571f8db61e02e5791f'
- '16de3dc2b354453f309aac9f1ce45a2db30aae51295c0753cb26d5e9f6676a24')
Comment by ur6lad
Now it has two classpathes in setClasspath.sh. I think it's messy. So I'm going to leave JNA_CLASSPATH and remove another one.
Comment by sonic414
My temporary workaround PKGBUILD
http://pastebin.com/9ad3htRk
Comment by sonic414
Or preferably
https://github.com/downloads/twall/jna/jna.jar
https://github.com/downloads/twall/jna/platform.jar
Comment by sonic414
http://java.net/projects/jna/downloads/download/3.4/jna.jar
http://java.net/projects/jna/downloads/download/3.4/platform.jar
Doesn't Exist...
Use:
https://github.com/twall/jna/blob/master/dist/jna.jar
https://github.com/twall/jna/blob/master/dist/platform.jar
I believe they are up to date..
Don't we need the linux-<$arch>.jar packages too?
Comment by ur6lad
Remove old files before build.
Comment by ur6lad
Sorry, fix it.
Anonymous comment
==> Validating source files with md5sums...
jna.jar ... FAILED
platform.jar ... FAILED
setClasspath.sh ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build jna.
Comment by ur6lad
3.4
Anonymous comment
Really? I thought that it had its own license. Anyway, thanks for the update!
Comment by ur6lad
* Change platform to 'any'
* Remove makedepends
* Fix source link
JNA is licensed as LGPL2.1
Anonymous comment
In addition to the changes that ptd suggested, you also should include a copy of JNA's license in /usr/share/licenses.
Comment by ptb
http://aur.pastebin.com/pFJGXgD5
Changes
- add x86_64
- remove make_depends
- fix source link
Comment by ur6lad
3.2.5
Comment by ur6lad
3.4, third release