[arch-commits] Commit in povray/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Sep 11 12:13:45 UTC 2017
Date: Monday, September 11, 2017 @ 12:13:35
Author: arodseth
Revision: 256905
upgpkg: povray 1:3.7.2_alpha-1
Modified:
povray/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-11 12:13:24 UTC (rev 256904)
+++ PKGBUILD 2017-09-11 12:13:35 UTC (rev 256905)
@@ -6,8 +6,8 @@
# Contributor: neri
pkgname=povray
-pkgver=3.7
-pkgrel=15
+pkgver=3.7.2_alpha
+pkgrel=1
epoch=1
pkgdesc='Script based raytracer for creating 3D graphics'
arch=('x86_64' 'i686')
@@ -14,16 +14,16 @@
license=('AGPL3')
url='http://povray.org/'
depends=('libtiff' 'libpng' 'boost-libs' 'openexr')
-makedepends=('boost' 'openexr')
+makedepends=('boost' 'git')
backup=("etc/povray/$pkgver/povray.conf"
"etc/povray/$pkgver/povray.ini")
-source=("$pkgname-$pkgver.zip::https://github.com/POV-Ray/povray/archive/3.7-stable.zip"
+source=('git+https://github.com/POV-Ray/povray#commit=5410fd423cebbf2270fe16888edbe2ca28b99ec7'
'povray3.7.0_rc3-user-conf.patch')
-sha256sums=('48d28a88d5e82506fd52ec5b1d9fcde06a39c866d045c53c8c441d0207c753e3'
+sha256sums=('SKIP'
'95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0')
prepare() {
- cd "$pkgname-$pkgver-stable/unix"
+ cd "$pkgname/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
@@ -35,20 +35,20 @@
}
build() {
- cd "$pkgname-$pkgver-stable"
+ cd "$pkgname"
./configure \
- --prefix=/usr \
+ LIBS="-lboost_system -lboost_thread" \
+ COMPILED_BY='Arch Linux' \
--sysconfdir=/etc \
- LIBS="-lboost_system -lboost_thread" \
- COMPILED_BY='Arch Linux'
- make \
- CXXFLAGS+="-std=c++03 -w -lboost_system -lboost_thread"
+ --prefix=/usr
+
+ make CXXFLAGS+="-std=c++03 -w -lboost_system -lboost_thread"
gzip -f povray.1
}
package() {
- cd "$pkgname-$pkgver-stable"
+ cd "$pkgname"
install -d "$pkgdir/usr/share/$pkgname-$pkgver"
install -d "$pkgdir/usr/share/doc/$pkgname-$pkgver"
More information about the arch-commits
mailing list