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

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu May 2 07:52:17 EDT 2013


    Date: Thursday, May 2, 2013 @ 13:52:16
  Author: arodseth
Revision: 89801

Added a prepare() function

Modified:
  povray/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-02 11:49:54 UTC (rev 89800)
+++ PKGBUILD	2013-05-02 11:52:16 UTC (rev 89801)
@@ -7,7 +7,7 @@
 
 pkgname=povray
 pkgver=3.7.0.RC6
-pkgrel=7
+pkgrel=8
 pkgdesc='Script based raytracer for creating 3D graphics'
 arch=('x86_64' 'i686')
 license=('custom')
@@ -27,7 +27,7 @@
             '9162060797de4f7f91ccf5e1fac5ec3378a0b0fed382393797ba3f4f27896402'
             '7d80992314f7947f5f672a4ad8b1d072a6179f01fb0228a88e4224a8bd45de96')
 
-build() {
+prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
   sed -i 's:=no:=yes:' unix/config/ax_boost_thread.m4
@@ -38,9 +38,14 @@
     vfe/vfesession.cpp
   ./bootstrap
   patch -p1 < ../povray3.7.0_rc3-user-conf.patch
+  gzip povray.1
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
   COMPILED_BY="Arch Linux" ./configure --prefix=/usr --sysconfdir=/etc
   make CXXFLAGS+="-lboost_system"
-  gzip povray.1
 }
 
 package() {



More information about the arch-commits mailing list