From e6fb9495556d9b2eaed5d07651ad43e6fef680b4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 1 Jul 2016 06:48:04 +0200 Subject: hdf4: $pkgver nicht mehr hardcoden --- hdf4/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hdf4') 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 } -- cgit v1.2.3-70-g09d2