[arch-commits] Commit in alembic/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Jul 14 16:13:28 UTC 2021
Date: Wednesday, July 14, 2021 @ 16:13:27
Author: arojas
Revision: 976989
archrelease: copy trunk to community-staging-x86_64
Added:
alembic/repos/community-staging-x86_64/
alembic/repos/community-staging-x86_64/PKGBUILD
(from rev 976988, alembic/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: alembic/repos/community-staging-x86_64/PKGBUILD (from rev 976988, alembic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-07-14 16:13:27 UTC (rev 976989)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=alembic
+pkgver=1.8.2
+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=('23fec3d51cfd8ac8bc02749550de53a7b699ebe67654336864a8208a6a1d4f69e8e1a2c8e07832665c203788cbabbb65f346582741bac10ceb0d56c16d6b4217')
+
+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