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

Jelle van der Waa jelle at archlinux.org
Mon Jan 6 13:43:18 UTC 2020


    Date: Monday, January 6, 2020 @ 13:43:18
  Author: jelle
Revision: 549739

archrelease: copy trunk to community-x86_64

Added:
  ptex/repos/community-x86_64/PKGBUILD
    (from rev 549738, ptex/trunk/PKGBUILD)
Deleted:
  ptex/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-06 13:43:06 UTC (rev 549738)
+++ PKGBUILD	2020-01-06 13:43:18 UTC (rev 549739)
@@ -1,41 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=ptex
-pkgver=2.3.0
-pkgrel=1
-pkgdesc="Per-Face Texture Mapping for Production Rendering"
-arch=(x86_64)
-url="http://ptex.us/"
-license=('BSD')
-depends=(zlib)
-makedepends=(git doxygen python2 cmake)
-source=("https://github.com/wdas/ptex/archive/v${pkgver}.tar.gz")
-sha512sums=('2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992')
-
-prepare() {
-	cd "$pkgname-$pkgver"/src
-
-    sed -i "s/python/python2/g" tests/run_tests.py
-}
-
-build() {
-	cd "$pkgname-$pkgver"
-
-    mkdir -p build && cd build
-	cmake .. \
-        -DCMAKE_INSTALL_LIBDIR=lib \
-        -DCMAKE_INSTALL_PREFIX=/usr
-
-    make
-}
-
-package() {
-	cd "$pkgname-$pkgver"/build
-
-    # install -d ${pkgdir}/usr/share
-    make DESTDIR="$pkgdir" install
-
-    # 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 549738, ptex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-06 13:43:18 UTC (rev 549739)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=ptex
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="Per-Face Texture Mapping for Production Rendering"
+arch=(x86_64)
+url="http://ptex.us/"
+license=('BSD')
+depends=(zlib)
+makedepends=(git doxygen cmake)
+source=("https://github.com/wdas/ptex/archive/v${pkgver}.tar.gz")
+sha512sums=('2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992')
+
+build() {
+	cd "$pkgname-$pkgver"
+
+    mkdir -p build && cd build
+	cmake .. \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DCMAKE_INSTALL_PREFIX=/usr
+
+    make
+}
+
+check() {
+	cd "$pkgname-$pkgver/build"
+        make test V=1
+}
+
+package() {
+	cd "$pkgname-$pkgver"/build
+
+    # install -d ${pkgdir}/usr/share
+    make DESTDIR="$pkgdir" install
+
+    # 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