summaryrefslogtreecommitdiff
path: root/libre/povray-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 21:55:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 21:55:11 -0300
commit8bafb162b9546cee075e293caec2c281958601ab (patch)
tree07cd0c5f97b5db7037e3a22cf8811d15f356de81 /libre/povray-libre
parent7c9ed22e3d92160411f86069a8c9d598d2d27e6c (diff)
downloadabslibre-8bafb162b9546cee075e293caec2c281958601ab.tar.gz
abslibre-8bafb162b9546cee075e293caec2c281958601ab.tar.bz2
abslibre-8bafb162b9546cee075e293caec2c281958601ab.zip
povray: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/povray-libre')
-rw-r--r--libre/povray-libre/PKGBUILD73
-rw-r--r--libre/povray-libre/povray3.7.0_rc3-user-conf.patch27
2 files changed, 0 insertions, 100 deletions
diff --git a/libre/povray-libre/PKGBUILD b/libre/povray-libre/PKGBUILD
deleted file mode 100644
index e68afa864..000000000
--- a/libre/povray-libre/PKGBUILD
+++ /dev/null
@@ -1,73 +0,0 @@
-# $Id: PKGBUILD 101605 2013-11-29 04:23:22Z eric $
-# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
-# Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
-# Contributor (Arch): tobias <tobias@archlinux.org>
-# Contributor (Arch): red_over_blue
-# Contributor (Arch): neri
-
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-# Don't build povray before 3.7 version (that ones are nonfree software)
-
-_pkgname=povray
-pkgname=$_pkgname-libre
-pkgver=3.7
-pkgrel=4
-epoch=1
-pkgdesc='Script based raytracer for creating 3D graphics, without nonfree documentation'
-arch=('x86_64' 'i686' 'mips64el')
-license=('AGPL3')
-url='http://povray.org/'
-depends=('libtiff' 'libpng' 'boost-libs')
-makedepends=('boost')
-provides=("$_pkgname=$pkgver")
-conflicts=("$_pkgname")
-replaces=("$_pkgname")
-backup=("etc/povray/$pkgver/povray.conf"
- "etc/povray/$pkgver/povray.ini")
-mksource=("https://github.com/POV-Ray/$_pkgname/archive/$pkgver-stable.zip")
-source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver-stable.tar.xz"
- 'povray3.7.0_rc3-user-conf.patch')
-mksha256sums=('1261d963327a4b04c09d56bbd7436d0062e6bf8363674e3fb4e240beefb5b5cb')
-sha256sums=('ba2a867b8593689067143b23ebdccb8f8f46487244802d24d873517287b924f1'
- '95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0')
-
-mksource() {
- cd "$_pkgname-$pkgver-stable"
-
- # remove nonfree documentation
- rm -rv doc
-}
-
-prepare() {
- cd "$_pkgname-$pkgver-stable"
-
- 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"
-}
-
-build() {
- cd "$_pkgname-$pkgver-stable"
-
- ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Parabola GNU/Linux-libre' \
- --prefix=/usr --sysconfdir=/etc
- make CXXFLAGS+="-w -lboost_system -lboost_thread"
- gzip -f povray.1
-}
-
-package() {
- cd "$_pkgname-$pkgver-stable"
-
- install -d "$pkgdir/usr/share/$_pkgname-$pkgver"
- cp -r icons include ini scenes scripts "$pkgdir/usr/share/$_pkgname-$pkgver"
- install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
- install -Dm644 povray.conf "$pkgdir/etc/povray/$pkgver/povray.conf"
- install -Dm644 povray.ini "$pkgdir/etc/povray/$pkgver/povray.ini"
- install -Dm644 povray.1.gz "$pkgdir/usr/share/man/man1/povray.1.gz"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/libre/povray-libre/povray3.7.0_rc3-user-conf.patch b/libre/povray-libre/povray3.7.0_rc3-user-conf.patch
deleted file mode 100644
index f20d9b506..000000000
--- a/libre/povray-libre/povray3.7.0_rc3-user-conf.patch
+++ /dev/null
@@ -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).