[arch-commits] Commit in openexr/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Aug 2 19:34:29 UTC 2021


    Date: Monday, August 2, 2021 @ 19:34:25
  Author: arojas
Revision: 421061

archrelease: copy trunk to staging-x86_64

Added:
  openexr/repos/staging-x86_64/
  openexr/repos/staging-x86_64/PKGBUILD
    (from rev 421060, openexr/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: openexr/repos/staging-x86_64/PKGBUILD (from rev 421060, openexr/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-08-02 19:34:25 UTC (rev 421061)
@@ -0,0 +1,25 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=openexr
+pkgver=3.1.0
+pkgrel=1
+pkgdesc='A high dynamic-range image file format library'
+url='https://www.openexr.com/'
+arch=(x86_64)
+license=(BSD)
+depends=(zlib imath)
+makedepends=(cmake)
+source=(https://github.com/openexr/openexr/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('8c2ff765368a28e8210af741ddf91506cef40f1ed0f1a08b6b73bb3a7faf8d93')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list