1 # Maintainer: Alucryd <alucryd at gmail dot com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
7 pkgdesc='An easy-to-use high-level API for HDF5 written in Java.'
9 url='https://wiki-bsse.ethz.ch/display/JHDF5/JHDF5+%28HDF5+for+Java%29'
11 depends=('java-runtime' 'hdf5')
12 source=("https://wiki-bsse.ethz.ch/download/attachments/26609237/cisd-jhdf5-$pkgver-r22873.zip")
13 md5sums=('a5883b03f76b921b79f13fab9e0b7a04')
17 install -Dm755 bin/h5ar.sh ${pkgdir}/usr/bin/h5ar
19 mkdir -p $pkgdir/usr/share/java/$pkgname
20 cp *.jar $pkgdir/usr/share/java/$pkgname
21 chmod -R 644 $pkgdir/usr/share/java/$pkgname
22 if test "$CARCH" == i686; then
23 install -Dm644 native/jhdf5/i386-Linux/libjhdf5.so $pkgdir/usr/lib/libjhdf5.so
25 install -Dm644 native/jhdf5/amd64-Linux/libjhdf5.so $pkgdir/usr/lib/libjhdf5.so