SHARE
TWEET

Untitled

a guest Sep 10th, 2018 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index ff76c93..685f319 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -33,14 +33,15 @@ build() {
  6.      "${srcdir}/hdf-${pkgver}"/configure \
  7.          CFLAGS="${CFLAGS} -fPIC" \
  8.          LIBS="-ljpeg -laec -lsz" \
  9. -        F77=gfortran \
  10.          JAVADOC='javadoc -Xdoclint:none' \
  11. -        --enable-fortran \
  12. +        --disable-netcdf \
  13. +        --disable-fortran \
  14.          --enable-java \
  15.          --enable-production \
  16. +        --enable-shared \
  17.          --with-zlib \
  18.          --with-szlib=/usr \
  19. -        --prefix=/opt/hdf4
  20. +        --prefix=/usr
  21.  
  22.    make
  23.  }
  24. @@ -50,4 +51,7 @@ package() {
  25.      make -j1 DESTDIR="${pkgdir}" install
  26.      mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
  27.      cp "${srcdir}/hdf-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}"
  28. +    
  29. +    rm -rv "${pkgdir}/usr/bin/nc"*
  30. +    rm -rv "${pkgdir}/usr/share/man/man1/nc"*    
  31.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top