[arch-commits] Commit in alembic/repos (2 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Apr 17 21:43:05 UTC 2021
Date: Saturday, April 17, 2021 @ 21:43:04
Author: svenstaro
Revision: 919841
archrelease: copy trunk to community-staging-x86_64
Added:
alembic/repos/community-staging-x86_64/
alembic/repos/community-staging-x86_64/PKGBUILD
(from rev 919840, alembic/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: alembic/repos/community-staging-x86_64/PKGBUILD (from rev 919840, alembic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-04-17 21:43:04 UTC (rev 919841)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=alembic
+pkgver=1.8.0
+pkgrel=1
+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