diff options
Diffstat (limited to 'dev-nodejs/coffee-script')
-rw-r--r-- | dev-nodejs/coffee-script/Manifest | 3 | ||||
-rw-r--r-- | dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild | 31 |
2 files changed, 12 insertions, 22 deletions
diff --git a/dev-nodejs/coffee-script/Manifest b/dev-nodejs/coffee-script/Manifest index 2832cec..24692b0 100644 --- a/dev-nodejs/coffee-script/Manifest +++ b/dev-nodejs/coffee-script/Manifest @@ -1,2 +1,3 @@ DIST coffee-script-1.6.2.tgz 75715 SHA256 92785ad77e5d689fc7bfc62f3b519e65b77509457dda7a332ee1efd6cf9f08d6 SHA512 b19f3d5258b20c7359e6bca8ca6e31c09759a4393b6f6bf691f24e02c1f8c8cc2d882a5f44dad63bce86ecbae22eab8b8a48357410958bf44a8f3b6e2f777557 WHIRLPOOL 5edbddcf71af3a3fe925ec40e1c4af7bff8209aa0dc865018ba64af920eca69ebb252bfcbcebf89accd9fb6405a6bd4278a580c2d318962a263d3cd3fa2a63fa -EBUILD coffee-script-1.6.2.ebuild 790 SHA256 17b7449ae09e32277250a85d6cb07b038fff34aa95d0aa1c0d9afab00c59b815 SHA512 e99b1e15cdf243ef8c3cc7ff31844eea015fac07cc0f07abd950a97d0f529051ee4a2d90279e7ee849058574ff1704d21d2837695cd40deb06fe969a35dfd843 WHIRLPOOL 468b0fdf76a874d52292b8217e284d55c745a57fd2e5105802045baabc897f2a0686cb43d5c3ac81fb182991b8994f7bc42b59fd7b021de6314d45d301b2ee47 +EBUILD coffee-script-1.6.2-r1.ebuild 790 SHA256 17b7449ae09e32277250a85d6cb07b038fff34aa95d0aa1c0d9afab00c59b815 SHA512 e99b1e15cdf243ef8c3cc7ff31844eea015fac07cc0f07abd950a97d0f529051ee4a2d90279e7ee849058574ff1704d21d2837695cd40deb06fe969a35dfd843 WHIRLPOOL 468b0fdf76a874d52292b8217e284d55c745a57fd2e5105802045baabc897f2a0686cb43d5c3ac81fb182991b8994f7bc42b59fd7b021de6314d45d301b2ee47 +EBUILD coffee-script-1.6.2.ebuild 432 SHA256 05f72d133089eca39bb1c66946285f201d3ab3a09a3a43d3f420f808b4752fcb SHA512 7d22fed5c9adfe472a19a95a58953b30c31a244409dac447fbafc65cff41cac6c403d097c8d5a006720618693fceb97bab2f453878ac99c20e2a90641147e7fe WHIRLPOOL 0167db4bfbb1df1bf953e15f72df3a93c2ff46b1588ce38fc1c25c7eaa0ba3b94139ee689f36e6820e7b463b4cff792522769d656a28ac8eff850f26a81302a0 diff --git a/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild b/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild index df46604..98872b8 100644 --- a/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild +++ b/dev-nodejs/coffee-script/coffee-script-1.6.2.ebuild @@ -3,38 +3,27 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm -DESCRIPTION="Unfancy JavaScript" -HOMEPAGE="https://npmjs.org/package/coffee-script" -SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" +DESCRIPTION="Unfancy JavaScript." LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="extras" +KEYWORDS="~amd64 ~x86" +IUSE="doc extras" DEPEND=">=net-libs/nodejs-0.8.10" RDEPEND="${DEPEND}" -src_unpack() { - unpack "${A}" - mv "${WORKDIR}/package" ${S} -} - -src_compile() { - true -} +NPM_DOCS="LICENSE CNAME CONTRIBUTING.md" 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} + npm_src_install dobin bin/* - dodoc README* LICENSE CNAME CONTRIBUTING.md - dodoc -r extras + + if use extras; then + dodoc -r extras + fi } |