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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Feb 14 19:51:34 UTC 2020


    Date: Friday, February 14, 2020 @ 19:51:34
  Author: svenstaro
Revision: 571185

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 46 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-14 19:51:28 UTC (rev 571184)
+++ PKGBUILD	2020-02-14 19:51:34 UTC (rev 571185)
@@ -1,40 +0,0 @@
-# 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
-}

Copied: ptex/repos/community-x86_64/PKGBUILD (from rev 571184, ptex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-14 19:51:34 UTC (rev 571185)
@@ -0,0 +1,46 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=ptex
+pkgver=2.3.2
+_commit_sha=1b8bc985a71143317ae9e4969fa08e164da7c2e5
+pkgrel=1
+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=('dbc557dc5e1761204ee3483af9bf4ff1504cbd7955e0405dc27a51f7182e2445e41db086b2792c2491aa2cbaddc74e523170a4b3d25e44d332123d5b7081f4b9')
+
+prepare() {
+	mkdir "$pkgname-$pkgver"/build
+}
+
+build() {
+	cd "$pkgname-$pkgver"/build
+
+	cmake .. \
+        -DPTEX_SHA=$_commit_sha \
+        -DPTEX_VER=$pkgver \
+        -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