Date: Friday, October 18, 2019 @ 18:35:33
  Author: arojas
Revision: 365157

Update to 2.4.0

Modified:
  openexr/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-10-18 18:20:10 UTC (rev 365156)
+++ PKGBUILD    2019-10-18 18:35:33 UTC (rev 365157)
@@ -1,24 +1,31 @@
 # Maintainer: Tobias Powalowski <[email protected]>
 
 pkgname=openexr
-pkgver=2.3.0
+pkgver=2.4.0
 pkgrel=1
 pkgdesc="An high dynamic-range image file format library"
 url="https://www.openexr.com/";
 arch=('x86_64')
 license=('BSD')
-depends=('zlib' 'ilmbase')
-source=("https://github.com/openexr/openexr/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz";)
-md5sums=('a157e8a46596bc185f2472a5a4682174')
+depends=('zlib')
+makedepends=('cmake' 'fltk' 'python' 'boost' 'freeglut')
+optdepends=('fltk: for exrdisplay' 'boost-libs: python support' 'python: 
python support') 
+conflicts=('ilmbase')
+replaces=('ilmbase')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/openexr/openexr/archive/v$pkgver.tar.gz";)
+md5sums=('9e4d69cf2a12c6fb19b98af7c5e0eaee')
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  mkdir -p build
+
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd build
   make DESTDIR="${pkgdir}" install
-  install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -D -m644 "$srcdir"/$pkgname-$pkgver/LICENSE.md -t 
"${pkgdir}/usr/share/licenses/${pkgname}"
 }

Reply via email to