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

Alexander Rødseth arodseth at archlinux.org
Sun Oct 9 10:15:10 UTC 2016


    Date: Sunday, October 9, 2016 @ 10:15:09
  Author: arodseth
Revision: 191678

upgpkg: povray 1:3.7-13

Modified:
  povray/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-09 07:45:24 UTC (rev 191677)
+++ PKGBUILD	2016-10-09 10:15:09 UTC (rev 191678)
@@ -7,7 +7,7 @@
 
 pkgname=povray
 pkgver=3.7
-pkgrel=12
+pkgrel=13
 epoch=1
 pkgdesc='Script based raytracer for creating 3D graphics'
 arch=('x86_64' 'i686')
@@ -19,16 +19,16 @@
         "etc/povray/$pkgver/povray.ini")
 source=("$pkgname-$pkgver.zip::https://github.com/POV-Ray/povray/archive/3.7-stable.zip"
         'povray3.7.0_rc3-user-conf.patch')
-sha256sums=('9d4752c19a33bd1c804abc1642e2c6c2256af7ea47b0c534c6aa12938d05cf34'
+sha256sums=('e473d0902751e4a2156c83660af463ee85e041b98012e87a18854e0029183cdc'
             '95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0')
 
 prepare() {
-  cd "$pkgname-$pkgver-stable"
+  cd "$pkgname-$pkgver-stable/unix"
 
-  cd unix
   sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
   sed 's/dist-bzip2/dist-bzip2 subdir-objects/g' -i configure.ac
   ./prebuild.sh
+
   cd ..
   ./bootstrap
   patch -p1 < "$srcdir/povray3.7.0_rc3-user-conf.patch"
@@ -37,9 +37,13 @@
 build() {
   cd "$pkgname-$pkgver-stable"
 
-  ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Arch Linux' \
-    --prefix=/usr --sysconfdir=/etc
-  make CXXFLAGS+="-std=c++03 -w -lboost_system -lboost_thread"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    LIBS="-lboost_system -lboost_thread" \
+    COMPILED_BY='Arch Linux'
+  make \
+    CXXFLAGS+="-std=c++03 -w -lboost_system -lboost_thread"
   gzip -f povray.1
 }
 
@@ -56,4 +60,5 @@
   install -Dm644 povray.1.gz "$pkgdir/usr/share/man/man1/povray.1.gz"
 }
 
+# getver: povray.org/documentation
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list