diff options
author | Erich Eckner <git@eckner.net> | 2016-07-01 06:48:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-07-01 06:48:04 +0200 |
commit | e6fb9495556d9b2eaed5d07651ad43e6fef680b4 (patch) | |
tree | fb6f123d052ce3db8c0cd8add1646e2491adbc29 /hdf4 | |
parent | a557241baa9ce63e6a61f502e65666b53c8da7fc (diff) | |
download | archlinuxewe-e6fb9495556d9b2eaed5d07651ad43e6fef680b4.tar.xz |
hdf4: $pkgver nicht mehr hardcoden
Diffstat (limited to 'hdf4')
-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 } |