[arch-commits] Commit in povray/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Thu Nov 14 20:23:48 UTC 2013
Date: Thursday, November 14, 2013 @ 21:23:48
Author: arodseth
Revision: 101005
upgpkg: povray 1:3.7-1
Modified:
povray/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-14 19:57:53 UTC (rev 101004)
+++ PKGBUILD 2013-11-14 20:23:48 UTC (rev 101005)
@@ -15,8 +15,8 @@
url='http://povray.org/'
depends=('libtiff' 'libpng' 'boost-libs')
makedepends=('boost')
-backup=("etc/povray/povray.conf"
- "etc/povray/povray.ini")
+backup=("etc/povray/$pkgver/povray.conf"
+ "etc/povray/$pkgver/povray.ini")
source=("https://github.com/POV-Ray/$pkgname/archive/$pkgver-stable.zip"
'povray3.7.0_rc3-user-conf.patch'
'distribution-license.txt'
@@ -43,7 +43,8 @@
build() {
cd "$pkgname-$pkgver-stable"
- ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Arch Linux' --prefix=/usr --sysconfdir=/etc
+ ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Arch Linux' \
+ --prefix=/usr --sysconfdir=/etc
make CXXFLAGS+="-w -lboost_system -lboost_thread"
gzip -f povray.1
}
@@ -51,13 +52,13 @@
package() {
cd "$pkgname-$pkgver-stable"
- mkdir -p "$pkgdir/usr/share/$pkgname-3.7"
- cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-3.7"
- mkdir -p "$pkgdir/usr/share/doc/$pkgname-3.7"
- cp -r doc "$pkgdir/usr/share/doc/$pkgname-3.7"
+ install -d "$pkgdir/usr/share/$pkgname-$pkgver"
+ install -d "$pkgdir/usr/share/doc/$pkgname-$pkgver"
+ cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$pkgver"
+ cp -r doc "$pkgdir/usr/share/doc/$pkgname-$pkgver"
install -Dm755 unix/povray "$pkgdir/usr/bin/povray"
- install -Dm644 povray.conf "$pkgdir/etc/povray/povray.conf"
- install -Dm644 povray.ini "$pkgdir/etc/povray/povray.ini"
+ 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"
install -Dm644 ../LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
More information about the arch-commits
mailing list