summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild')
-rw-r--r--dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild27
1 files changed, 5 insertions, 22 deletions
diff --git a/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild b/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild
index 50dba01..172368a 100644
--- a/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild
+++ b/dev-nodejs/underscore_string/underscore_string-2.3.1.ebuild
@@ -7,7 +7,7 @@ MY_PN=${PN/_/.}
MY_P=${MY_PN}-${PV}
NODEJS_MODULE=${MY_PN}
-inherit multilib
+inherit npm
DESCRIPTION="String manipulation extensions for Underscore.js"
HOMEPAGE="https://npmjs.org/package/underscore.string"
@@ -15,29 +15,12 @@ SRC_URI="http://registry.npmjs.org/${MY_PN}/-/${MY_P}.tgz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=net-libs/nodejs-0.8.10"
+DEPEND=""
RDEPEND=">=dev-nodejs/underscore-1.4.4
- ${DEPEND}"
+ >=net-libs/nodejs-0.8.10
+ ${DEPEND}"
S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack "${A}"
- mv "${WORKDIR}/package" ${S}
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}"
-
- mkdir -p ${node_modules} || die "Could not create DEST folder"
- cp -r ${S}/{lib,package.json} ${node_modules}
-
- dodoc README*
-}