diff options
author | eolianoe | 2015-06-08 17:51:30 +0200 |
---|---|---|
committer | eolianoe | 2015-06-08 17:51:30 +0200 |
commit | 713b2907c0172249abbaa544e57d0cd645f73b2e (patch) | |
tree | af02bea86ce0454323fd70f54aaceab8f4eb6a81 | |
download | aur-713b2907c0172249abbaa544e57d0cd645f73b2e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b0d7ed93cff8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = jhdf5 + pkgdesc = An easy-to-use high-level API for HDF5 written in Java. + pkgver = 14.12.0 + pkgrel = 1 + url = https://wiki-bsse.ethz.ch/display/JHDF5 + arch = i686 + arch = x86_64 + license = Apache + depends = java-runtime + depends = hdf5 + source = https://wiki-bsse.ethz.ch/download/attachments/26609237/sis-jhdf5-14.12.0-r33145.zip + sha256sums = 3ae0502d8025817386528a6ff686e557bd5217b6b17502981325bc6fa0d69632 + +pkgname = jhdf5 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0651baab15ef --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: eolianoe <eolianoe [at] gmail [DoT] com> +# Contributor: Alucryd <alucryd at gmail dot com> +# Contributor: Thomas Dziedzic < gostrc at gmail > + +pkgname=jhdf5 +pkgver=14.12.0 +pkgrel=1 +pkgdesc='An easy-to-use high-level API for HDF5 written in Java.' +arch=('i686' 'x86_64') +url='https://wiki-bsse.ethz.ch/display/JHDF5' +license=('Apache') +depends=('java-runtime' 'hdf5') +source=("https://wiki-bsse.ethz.ch/download/attachments/26609237/sis-${pkgname}-${pkgver}-r33145.zip") +sha256sums=('3ae0502d8025817386528a6ff686e557bd5217b6b17502981325bc6fa0d69632') + +package() { + cd "${srcdir}/sis-${pkgname}" + install -Dm755 bin/h5ar.sh "${pkgdir}/usr/bin/h5ar" + + cd "${srcdir}/sis-${pkgname}/doc" + install -Dm644 JHDF5.pdf "${pkgdir}/usr/share/doc/${pkgname}/JHDF5.pdf" + + cd "${srcdir}/sis-${pkgname}/lib" + _jar_files=$(find . -maxdepth 1 -regex ".*\.jar" | xargs) + for jar in ${_jar_files}; do + install -Dm644 ${jar} "${pkgdir}/usr/share/java/${pkgname}/${jar}" + done + if test "$CARCH" == i686; then + install -Dm644 native/jhdf5/i386-Linux/libjhdf5.so "${pkgdir}/usr/lib/libjhdf5.so" + else + install -Dm644 native/jhdf5/amd64-Linux/libjhdf5.so "${pkgdir}/usr/lib/libjhdf5.so" + fi +} |