[arch-commits] Commit in povray/repos/community-x86_64 (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Jan 28 18:43:06 UTC 2018


    Date: Sunday, January 28, 2018 @ 18:43:02
  Author: svenstaro
Revision: 287632

archrelease: copy trunk to community-x86_64

Added:
  povray/repos/community-x86_64/PKGBUILD
    (from rev 287631, povray/trunk/PKGBUILD)
  povray/repos/community-x86_64/povray3.7.0_rc3-user-conf.patch
    (from rev 287631, povray/trunk/povray3.7.0_rc3-user-conf.patch)
Deleted:
  povray/repos/community-x86_64/PKGBUILD
  povray/repos/community-x86_64/povray3.7.0_rc3-user-conf.patch

---------------------------------+
 PKGBUILD                        |  120 +++++++++++++++++++-------------------
 povray3.7.0_rc3-user-conf.patch |   54 ++++++++---------
 2 files changed, 87 insertions(+), 87 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-28 18:42:47 UTC (rev 287631)
+++ PKGBUILD	2018-01-28 18:43:02 UTC (rev 287632)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: tobias <tobias at archlinux.org>
-# Contributor: red_over_blue
-# Contributor: neri
-
-pkgname=povray
-pkgver=3.7.0.4
-_v=${pkgver%.*.*} # 3.7
-pkgrel=3
-epoch=2
-pkgdesc='Script based raytracer for creating 3D graphics'
-arch=('x86_64')
-license=('AGPL3')
-url='http://povray.org/'
-depends=('libtiff' 'libpng' 'boost-libs' 'openexr')
-makedepends=('boost' 'git' 'glu')
-backup=("etc/povray/$_v/povray.conf"
-        "etc/povray/$_v/povray.ini")
-source=($pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz)
-sha512sums=('79da8eba3dc395873965e2f7c37bfbdd8511a43a8ee982980eb5f7e7d39269c9ba39bbeacbdd03f5e0b2d99058c4700d290b5e53ba54b9aeccf1861fb64c1cb4')
-
-prepare() {
-  cd "$pkgname-$pkgver/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
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./configure \
-    LIBS="-lboost_system -lboost_thread" \
-    COMPILED_BY='Arch Linux' \
-    --sysconfdir=/etc \
-    --prefix=/usr
-
-  make CXXFLAGS+="-std=c++11 -lboost_system -lboost_thread -w"
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  install -d "$pkgdir"/usr/share/{doc/,}"$pkgname-$_v"
-  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$_v"
-  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$_v"
-  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
-  install -Dm644 povray.conf "$pkgdir/etc/povray/$_v/povray.conf"
-  install -Dm644 povray.ini "$pkgdir/etc/povray/$_v/povray.ini"
-  install -Dm644 povray.1 "$pkgdir/usr/share/man/man1/povray.1"
-}
-
-# getver: povray.org/documentation
-# vim:set ts=2 sw=2 et:

Copied: povray/repos/community-x86_64/PKGBUILD (from rev 287631, povray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-28 18:43:02 UTC (rev 287632)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: red_over_blue
+# Contributor: neri
+
+pkgname=povray
+pkgver=3.7.0.7
+_v=${pkgver%.*.*} # 3.7
+pkgrel=1
+epoch=2
+pkgdesc='Script based raytracer for creating 3D graphics'
+arch=('x86_64')
+license=('AGPL3')
+url='http://povray.org/'
+depends=('libtiff' 'libpng' 'boost-libs' 'openexr')
+makedepends=('boost' 'git' 'glu')
+backup=("etc/povray/$_v/povray.conf"
+        "etc/povray/$_v/povray.ini")
+source=($pkgname-$pkgver.tar.gz::https://github.com/POV-Ray/povray/archive/v$pkgver.tar.gz)
+sha512sums=('ea2b50f648948df9415a7b386aa0bfd2ac5236fa7f480df655a8f7e695cf21d9712d73901f21d1ef87188223f4cb351f195641ab77d88ca66f488566ef78aaed')
+
+prepare() {
+  cd "$pkgname-$pkgver/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
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure \
+    LIBS="-lboost_system -lboost_thread" \
+    COMPILED_BY='Arch Linux' \
+    --sysconfdir=/etc \
+    --prefix=/usr
+
+  make CXXFLAGS+="-std=c++11 -lboost_system -lboost_thread -w"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -d "$pkgdir"/usr/share/{doc/,}"$pkgname-$_v"
+  cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$_v"
+  cp -r doc "$pkgdir/usr/share/doc/$pkgname-$_v"
+  install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
+  install -Dm644 povray.conf "$pkgdir/etc/povray/$_v/povray.conf"
+  install -Dm644 povray.ini "$pkgdir/etc/povray/$_v/povray.ini"
+  install -Dm644 povray.1 "$pkgdir/usr/share/man/man1/povray.1"
+}
+
+# getver: povray.org/documentation
+# vim:set ts=2 sw=2 et:

Deleted: povray3.7.0_rc3-user-conf.patch
===================================================================
--- povray3.7.0_rc3-user-conf.patch	2018-01-28 18:42:47 UTC (rev 287631)
+++ povray3.7.0_rc3-user-conf.patch	2018-01-28 18:43:02 UTC (rev 287632)
@@ -1,27 +0,0 @@
- Makefile.am |   13 -------------
- 1 files changed, 0 insertions(+), 13 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 76b394c..9822c52 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -107,19 +107,6 @@ install-data-local:
- 	for f in $$filelist ; do \
- 	  $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f && echo "$(DESTDIR)$(povdocdir)/$$f" >> $(povinstall); \
- 	done
--	@echo "Creating user directories..."; \
--	for p in $(povuser) $(povconfuser) ; do \
--	  $(mkdir_p) $$p && chown $(povowner) $$p && chgrp $(povgroup) $$p && printf "%s\n" "$$p" "`cat $(povinstall)`" > $(povinstall); \
--	done
--	@echo "Copying user configuration and INI files..."; \
--	for f in povray.conf povray.ini ; do \
--	  if test -f $(povconfuser)/$$f; then \
--	    echo "Creating backup of $(povconfuser)/$$f"; \
--	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
--	  fi; \
--	done; \
--	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf && chown $(povowner) $(povconfuser)/povray.conf && chgrp $(povgroup) $(povconfuser)/povray.conf  && echo "$(povconfuser)/povray.conf" >> $(povinstall); \
--	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini && chown $(povowner) $(povconfuser)/povray.ini && chgrp $(povgroup) $(povconfuser)/povray.ini  && echo "$(povconfuser)/povray.ini" >> $(povinstall)
- 
- # Remove data, config, and empty folders for 'make uninstall'.
- # Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts).

Copied: povray/repos/community-x86_64/povray3.7.0_rc3-user-conf.patch (from rev 287631, povray/trunk/povray3.7.0_rc3-user-conf.patch)
===================================================================
--- povray3.7.0_rc3-user-conf.patch	                        (rev 0)
+++ povray3.7.0_rc3-user-conf.patch	2018-01-28 18:43:02 UTC (rev 287632)
@@ -0,0 +1,27 @@
+ Makefile.am |   13 -------------
+ 1 files changed, 0 insertions(+), 13 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 76b394c..9822c52 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -107,19 +107,6 @@ install-data-local:
+ 	for f in $$filelist ; do \
+ 	  $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f && echo "$(DESTDIR)$(povdocdir)/$$f" >> $(povinstall); \
+ 	done
+-	@echo "Creating user directories..."; \
+-	for p in $(povuser) $(povconfuser) ; do \
+-	  $(mkdir_p) $$p && chown $(povowner) $$p && chgrp $(povgroup) $$p && printf "%s\n" "$$p" "`cat $(povinstall)`" > $(povinstall); \
+-	done
+-	@echo "Copying user configuration and INI files..."; \
+-	for f in povray.conf povray.ini ; do \
+-	  if test -f $(povconfuser)/$$f; then \
+-	    echo "Creating backup of $(povconfuser)/$$f"; \
+-	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
+-	  fi; \
+-	done; \
+-	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf && chown $(povowner) $(povconfuser)/povray.conf && chgrp $(povgroup) $(povconfuser)/povray.conf  && echo "$(povconfuser)/povray.conf" >> $(povinstall); \
+-	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini && chown $(povowner) $(povconfuser)/povray.ini && chgrp $(povgroup) $(povconfuser)/povray.ini  && echo "$(povconfuser)/povray.ini" >> $(povinstall)
+ 
+ # Remove data, config, and empty folders for 'make uninstall'.
+ # Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts).



More information about the arch-commits mailing list