[arch-commits] Commit in alembic/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Wed Aug 22 06:53:31 UTC 2018
Date: Wednesday, August 22, 2018 @ 06:53:31
Author: arojas
Revision: 373194
archrelease: copy trunk to community-staging-x86_64
Added:
alembic/repos/community-staging-x86_64/
alembic/repos/community-staging-x86_64/PKGBUILD
(from rev 373193, alembic/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: alembic/repos/community-staging-x86_64/PKGBUILD (from rev 373193, alembic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-22 06:53:31 UTC (rev 373194)
@@ -0,0 +1,37 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=alembic
+pkgver=1.7.8
+pkgrel=2
+pkgdesc="A 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')
+source=(https://github.com/alembic/alembic/archive/${pkgver}.tar.gz)
+sha512sums=('bc36e30d1aecd67da16247365a973c462e9716309d090fefe36f625c8d2ab2d517fe8ac694a9188cd6eeb623a3217f59f461c82fcfec43d0a60a07381526983a')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DUSE_HDF5=OFF
+ # Temporarily disable HDF5 until upstream fixes the linking or until we make a patch.
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ cd build
+ make DESTDIR="${pkgdir}/" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list