Date: Tuesday, April 21, 2020 @ 10:24:34 Author: jelle Revision: 617327
archrelease: copy trunk to staging-x86_64 Added: alembic/repos/staging-x86_64/ alembic/repos/staging-x86_64/PKGBUILD (from rev 617326, alembic/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: alembic/repos/staging-x86_64/PKGBUILD (from rev 617326, alembic/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-04-21 10:24:34 UTC (rev 617327) @@ -0,0 +1,36 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> + +pkgname=alembic +pkgver=1.7.12 +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=('e05e0b24056c17f01784ced1f9606a269974de195f1aca8a6fce2123314e7ee609f70df77ac7fe18dc7f0c04fb883d38cc7de9b963caacf9586aaa24d4ac6210') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + mkdir build && cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_HDF5=ON + + 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: