[arch-commits] Commit in povray/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sun Nov 1 02:17:33 UTC 2009
Date: Saturday, October 31, 2009 @ 22:17:33
Author: allan
Revision: 57584
upgpkg: povray 3.6.1-6
FHS man packages
Modified:
povray/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-11-01 01:34:54 UTC (rev 57583)
+++ PKGBUILD 2009-11-01 02:17:33 UTC (rev 57584)
@@ -6,9 +6,9 @@
pkgname=povray
pkgver=3.6.1
_majorver=3.6
-pkgrel=5
+pkgrel=6
pkgdesc="A script based raytracer for high-quality three-dimensional graphics"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('custom')
url="http://povray.org"
depends=('gcc' 'zlib' 'libjpeg>=7' 'libtiff>=3.8.2-5' 'libpng' 'libxpm')
@@ -17,18 +17,20 @@
md5sums=('b5789bb7eeaed0809c5c82d0efda571d')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc COMPILED_BY="ArchLinux" \
- --disable-optimiz --enable-strip
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
+ COMPILED_BY="ArchLinux" --disable-optimiz --enable-strip
make || return 1
- make DESTDIR=$startdir/pkg sysconfdir=$startdir/pkg/etc install
- # correct the pathes in the ini file
- sed -i "s|/usr/local/share|/usr/share|g" $startdir/pkg/etc/$pkgname/$_majorver/povray.ini
+ make DESTDIR=${pkgdir} sysconfdir=${pkgdir}/etc install
+
+ # correct the paths in the ini file
+ sed -i "s|/usr/local/share|/usr/share|g" ${pkgdir}/etc/$pkgname/$_majorver/povray.ini
+
# install licenses
install -Dm 644 doc/povlegal.doc \
- ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm 644 doc/distribution-license.txt \
- ${startdir}/pkg/usr/share/licenses/${pkgname}/distribution-license.txt
+ ${pkgdir}/usr/share/licenses/${pkgname}/distribution-license.txt
install -Dm 644 doc/source-license.txt \
- ${startdir}/pkg/usr/share/licenses/${pkgname}/source-license.txt
+ ${pkgdir}/usr/share/licenses/${pkgname}/source-license.txt
}
More information about the arch-commits
mailing list