summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Eleftheriou2017-10-19 01:45:22 +0200
committerGeorge Eleftheriou2017-10-19 01:45:22 +0200
commit0927c34e5fe5c0db265e35e8a33872ee9bd42a68 (patch)
treed6304a4210f4a805f90eb62c956070a2eb86268c
parent7429aaf52a723fc146851936b3af6874435f53c2 (diff)
downloadaur-0927c34e5fe5c0db265e35e8a33872ee9bd42a68.tar.gz
removed unnecessary sed from prepare()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc7cc003887..7b250373c25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hdfview
pkgdesc = a GUI browser for hdf5 files
pkgver = 2.14.0
- pkgrel = 3
+ pkgrel = 4
url = https://support.hdfgroup.org/products/java/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index bd128c6fc2d..d0404a175fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=hdfview
_pkgname=HDFView
pkgver=2.14.0
_pkgver=${pkgver%.0}
-pkgrel=3
+pkgrel=4
pkgdesc="a GUI browser for hdf5 files"
arch=('i686' 'x86_64')
url="https://support.hdfgroup.org/products/java/"
@@ -28,13 +28,12 @@ md5sums=('3dafb38490718d46e359d250c7bb2377'
prepare() {
cd "${pkgname}-${_pkgver}"
- sed -i "s;hdf\.lib\.dir = \${env\.HDFLIBS}/lib;hdf\.lib\.dir = /opt/hdfjava-3\.3\.2/lib;" build.properties
sed -i '731s;<chmod perm="ugo+rx">;<chmod perm="ugo+rx" maxparallel="10">;' build.xml
}
build() {
cd "${pkgname}-${_pkgver}"
- ant package
+ HDFLIBS=/opt/hdfjava-3.3.2 ant package
}
package() {