[arch-commits] Commit in ptex/repos (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Sep 26 01:11:38 UTC 2015


    Date: Saturday, September 26, 2015 @ 03:11:38
  Author: svenstaro
Revision: 141618

archrelease: copy trunk to community-i686, community-x86_64

Added:
  ptex/repos/community-i686/
  ptex/repos/community-i686/PKGBUILD
    (from rev 141617, ptex/trunk/PKGBUILD)
  ptex/repos/community-x86_64/
  ptex/repos/community-x86_64/PKGBUILD
    (from rev 141617, ptex/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: ptex/repos/community-i686/PKGBUILD (from rev 141617, ptex/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-09-26 01:11:38 UTC (rev 141618)
@@ -0,0 +1,38 @@
+# 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)
+makedepends=(git doxygen python2)
+options=(!makeflags)
+source=("https://github.com/wdas/ptex/archive/v${pkgver}.tar.gz")
+md5sums=('548e0b1c8ef542c01c92418803c56e88')
+
+prepare() {
+	cd "$pkgname-$pkgver"/src
+
+    sed -i "s/python/python2/g" tests/run_tests.py
+}
+
+build() {
+	cd "$pkgname-$pkgver"/src
+	make
+
+    cd doc
+    make
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+
+    install -d ${pkgdir}/usr/share
+
+    cp -r install/{bin,include,lib} ${pkgdir}/usr
+    cp -r install/doc ${pkgdir}/usr/share/
+
+    install -Dm644 src/doc/License.txt ${pkgdir}/usr/share/licenses/${pkgname}/License.txt
+}

Copied: ptex/repos/community-x86_64/PKGBUILD (from rev 141617, ptex/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-09-26 01:11:38 UTC (rev 141618)
@@ -0,0 +1,38 @@
+# 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)
+makedepends=(git doxygen python2)
+options=(!makeflags)
+source=("https://github.com/wdas/ptex/archive/v${pkgver}.tar.gz")
+md5sums=('548e0b1c8ef542c01c92418803c56e88')
+
+prepare() {
+	cd "$pkgname-$pkgver"/src
+
+    sed -i "s/python/python2/g" tests/run_tests.py
+}
+
+build() {
+	cd "$pkgname-$pkgver"/src
+	make
+
+    cd doc
+    make
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+
+    install -d ${pkgdir}/usr/share
+
+    cp -r install/{bin,include,lib} ${pkgdir}/usr
+    cp -r install/doc ${pkgdir}/usr/share/
+
+    install -Dm644 src/doc/License.txt ${pkgdir}/usr/share/licenses/${pkgname}/License.txt
+}



More information about the arch-commits mailing list