[arch-commits] Commit in alembic/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue May 18 07:37:53 UTC 2021
Date: Tuesday, May 18, 2021 @ 07:37:53
Author: felixonmars
Revision: 936188
archrelease: copy trunk to community-staging-x86_64
Added:
alembic/repos/community-staging-x86_64/
alembic/repos/community-staging-x86_64/PKGBUILD
(from rev 936187, alembic/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: alembic/repos/community-staging-x86_64/PKGBUILD (from rev 936187, alembic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-18 07:37:53 UTC (rev 936188)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=alembic
+pkgver=1.8.1
+pkgrel=2
+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=('895493f36c895aef0675e1300ee3bbbf1b8819b4978b842c48810078e51219423500f74014eafe357a318a755ffa8c5c17c2c806b4216bab6cd334908bf684a4')
+
+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