[arch-commits] Commit in (ptex ptex/repos ptex/trunk ptex/trunk/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Sep 26 00:52:39 UTC 2015


    Date: Saturday, September 26, 2015 @ 02:52:38
  Author: svenstaro
Revision: 141616

Add ptex for blender

Added:
  ptex/
  ptex/repos/
  ptex/trunk/
  ptex/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: ptex/trunk/PKGBUILD
===================================================================
--- ptex/trunk/PKGBUILD	                        (rev 0)
+++ ptex/trunk/PKGBUILD	2015-09-26 00:52:38 UTC (rev 141616)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=ptex
+pkgver=2.0.62
+pkgrel=1
+pkgdesc="Per-Face Texture Mapping for Production Rendering"
+arch=(i686 x86_64)
+url="http://ptex.us/"
+license=('BSD')
+depends=(zlib pthread)
+makedepends=(git cmake)
+source=("https://github.com/wdas/ptex/archive/v${pkgver}.tar.gz")
+md5sums=()
+
+build() {
+	cd "$pkgname-$pkgver"
+
+    rm -rf build
+    mkdir build && cd build
+
+    cmake ../src
+	make
+}
+
+check() {
+	cd "$pkgname-$pkgver"/build
+
+    make test
+}
+
+package() {
+	cd "$pkgname-$pkgver"/build
+
+	make DESTDIR="$pkgdir/" install
+}



More information about the arch-commits mailing list