diff options
Diffstat (limited to 'hdf4/PKGBUILD')
-rwxr-xr-x | hdf4/PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hdf4/PKGBUILD b/hdf4/PKGBUILD index 2ac3fd5d6..d59f250b2 100755 --- a/hdf4/PKGBUILD +++ b/hdf4/PKGBUILD @@ -10,21 +10,21 @@ license=('custom') depends=('zlib' 'libjpeg-turbo') makedepends=('gcc-libs' 'gcc-fortran' 'flex' 'bison') conflicts=('netcdf') -source=(http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/hdf-4.2.11.tar.gz) +source=("http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/hdf-4.$pkgver.tar.gz") sha256sums=('c3f7753b2fb9b27d09eced4d2164605f111f270c9a60b37a578f7de02de86d24') build() { - cd $srcdir/hdf-4.2.11 + cd $srcdir/hdf-4.$pkgver export CFLAGS=$CFLAGS" -fPIC" export LDFLAGS=" -l:libjpeg.so.8 "$LDFLAGS ./configure --prefix=/usr F77=gfortran make } package() { - cd $srcdir/hdf-4.2.11 + cd $srcdir/hdf-4.$pkgver make prefix=$pkgdir/usr install mkdir -p $pkgdir/usr/share/doc/$pkgname mv $pkgdir/usr/examples $pkgdir/usr/share/doc/$pkgname mkdir -p $pkgdir/usr/share/licenses/$pkgname - cp $srcdir/hdf-4.2.11/COPYING $pkgdir/usr/share/licenses/$pkgname + cp $srcdir/hdf-4.$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname } |