From cdaddee5767ac5840b5fe53b2b7ad5465c7e676f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 15 Nov 2011 15:07:47 +0100 Subject: [PATCH] scons: set noarch, fixed mandir, revbump. --- srcpkgs/scons/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/scons/template b/srcpkgs/scons/template index 680c4b197a..8d2f17f8fc 100644 --- a/srcpkgs/scons/template +++ b/srcpkgs/scons/template @@ -1,7 +1,7 @@ # Template file for 'scons' pkgname=scons version=2.0.1 -revision=1 +revision=2 distfiles="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$version.tar.gz" build_style=python-module short_desc="SCons, a software construction tool" @@ -17,7 +17,11 @@ long_desc=" configuration files are actually executed as Python scripts. This gives SCons many powerful capabilities not found in other software build tools." +noarch=yes pycompile_dirs="usr/lib/scons-$version/SCons" +Add_dependency full python -Add_dependency run python -Add_dependency build python +post_install() { + vmkdir usr/share + mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share +}