From 991774f4038acbd4d2b87bcbcea08f05e74e58c7 Mon Sep 17 00:00:00 2001 From: davehome Date: Fri, 23 Dec 2011 01:33:39 -0700 Subject: [PATCH] nodejs: fix installation of documentation, license. --- srcpkgs/nodejs/nodejs-docs.template | 5 ++++- srcpkgs/nodejs/template | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/nodejs/nodejs-docs.template b/srcpkgs/nodejs/nodejs-docs.template index 3edaec7611a..7a51a354b76 100644 --- a/srcpkgs/nodejs/nodejs-docs.template +++ b/srcpkgs/nodejs/nodejs-docs.template @@ -1,5 +1,6 @@ # Template file for 'nodejs-docs'. # +revision=1 short_desc="${short_desc} (Documentation)" long_desc="${long_desc} @@ -7,5 +8,7 @@ long_desc="${long_desc} do_install() { - vmove usr/share usr + vmove usr/share/man usr/share + vmkdir usr/share/doc/nodejs + vcopy "doc/api/api/*" usr/share/doc/nodejs } diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index 97b13bc5edd..009d67bf098 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -3,6 +3,7 @@ pkgname=nodejs version=0.6.6 homepage="http://nodejs.org/" distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz" +revision=1 short_desc="Evented I/O for V8 javascript" maintainer="davehome " license="MIT" @@ -51,4 +52,5 @@ do_build() do_install() { make ${makejobs} DESTDIR=$DESTDIR install + vinstall LICENSE 644 usr/share/licenses/${pkgname} }