summaryrefslogtreecommitdiff
path: root/libre/povray/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/povray/PKGBUILD')
-rw-r--r--libre/povray/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/libre/povray/PKGBUILD b/libre/povray/PKGBUILD
index a9c95b7c5..d4b8f933b 100644
--- a/libre/povray/PKGBUILD
+++ b/libre/povray/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 186933 2016-08-18 09:01:56Z arodseth $
+# $Id: PKGBUILD 191678 2016-10-09 10:15:09Z arodseth $
# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
# Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
# Contributor (Arch): tobias <tobias@archlinux.org>
@@ -10,7 +10,7 @@
_pkgname=povray-libre
pkgname=povray
pkgver=3.7
-pkgrel=12.parabola1
+pkgrel=13.parabola1
epoch=1
pkgdesc='Script based raytracer for creating 3D graphics, without nonfree documentation'
arch=('x86_64' 'i686' 'armv7h')
@@ -37,12 +37,12 @@ mksource() {
}
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"
@@ -51,9 +51,13 @@ prepare() {
build() {
cd "$pkgname-$pkgver-stable"
- ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Parabola GNU/Linux-libre' \
- --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='Parabola GNU/Linux-libre'
+ make \
+ CXXFLAGS+="-std=c++03 -w -lboost_system -lboost_thread"
gzip -f povray.1
}