[arch-commits] Commit in (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Sep 26 01:18:17 UTC 2015
Date: Saturday, September 26, 2015 @ 03:18:17
Author: svenstaro
Revision: 141619
Add opensubdiv for blender
Added:
opensubdiv/
opensubdiv/repos/
opensubdiv/trunk/
opensubdiv/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Added: opensubdiv/trunk/PKGBUILD
===================================================================
--- opensubdiv/trunk/PKGBUILD (rev 0)
+++ opensubdiv/trunk/PKGBUILD 2015-09-26 01:18:17 UTC (rev 141619)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="An Open-Source subdivision surface library"
+arch=(i686 x86_64)
+url="http://graphics.pixar.com/opensubdiv"
+license=('apache')
+depends=(zlib ptex intel-tbb)
+makedepends=(cmake doxygen glfw glew python-pygments python-docutils)
+source=("https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${pkgver/./_}.tar.gz")
+md5sums=()
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ rm -rf build
+ mkdir build && cd build
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
+}
+
+package() {
+ cd "$pkgname-$pkgver"/build
+
+ make DESTDIR="$pkgdir/" install
+}
More information about the arch-commits
mailing list