[arch-commits] Commit in alembic/repos (2 files)

Morten Linderud foxboron at archlinux.org
Fri Apr 23 19:10:55 UTC 2021


    Date: Friday, April 23, 2021 @ 19:10:55
  Author: foxboron
Revision: 923299

archrelease: copy trunk to community-staging-x86_64

Added:
  alembic/repos/community-staging-x86_64/
  alembic/repos/community-staging-x86_64/PKGBUILD
    (from rev 923298, alembic/trunk/PKGBUILD)

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

Copied: alembic/repos/community-staging-x86_64/PKGBUILD (from rev 923298, alembic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-04-23 19:10:55 UTC (rev 923299)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=alembic
+pkgver=1.8.0
+pkgrel=2
+pkgdesc="An open framework for storing and sharing scene data"
+arch=('x86_64')
+url="http://www.alembic.io/"
+license=('BSD')
+depends=('openexr' 'boost-libs' 'hdf5')
+makedepends=('cmake' 'boost' 'ninja')
+source=($pkgname-$pkgver.tar.gz::https://github.com/alembic/alembic/archive/${pkgver}.tar.gz)
+sha512sums=('23fc881863741f7fd081342f5c53c1ec3d00ab300ba8cd10e4a659ee820a9ed1244cf7cf2fd40482f6be32b9d7df44128363246e942bd03c802f3a2a81533b57')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  cmake . \
+    -Bbuild \
+    -GNinja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_HDF5=ON
+
+  ninja -C build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+  DESTDIR="${pkgdir}/" ninja -C build install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list