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

Antonio Rojas arojas at gemini.archlinux.org
Fri May 20 18:03:05 UTC 2022


    Date: Friday, May 20, 2022 @ 18:03:05
  Author: arojas
Revision: 1209441

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: alembic/repos/community-staging-x86_64/PKGBUILD (from rev 1209440, alembic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-20 18:03:05 UTC (rev 1209441)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=alembic
+pkgver=1.8.3
+pkgrel=3
+pkgdesc="An open framework for storing and sharing scene data"
+arch=('x86_64')
+url="http://www.alembic.io/"
+license=('BSD')
+depends=('imath' 'boost-libs' 'hdf5')
+makedepends=('cmake' 'boost' 'ninja')
+source=($pkgname-$pkgver.tar.gz::https://github.com/alembic/alembic/archive/${pkgver}.tar.gz)
+sha512sums=('0049c72d93e66e12d704d27e7ba36cd9c718667f2ce4f7baa1bee1613ed88ba53abea98f457e14f7f2144cb353810a4108d26c7dd1a1543ec2af576272f19036')
+
+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