summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild')
-rw-r--r--dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild31
1 files changed, 6 insertions, 25 deletions
diff --git a/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild b/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild
index d81f8e1..e580924 100644
--- a/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild
+++ b/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild
@@ -3,38 +3,19 @@
# $Header: $
EAPI=4
-NODEJS_MODULE=${PN}
-inherit multilib
+inherit npm
DESCRIPTION="Find the first file matching a given pattern in the current
directory or the nearest ancestor directory."
-HOMEPAGE="https://npmjs.org/package/findup-sync"
-SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=net-libs/nodejs-0.8.10"
-RDEPEND=">=dev-nodejs/glob-3.2.1
- ${DEPEND}"
+RDEPEND=">=net-libs/nodejs-0.8.10
+ >=dev-nodejs/glob-3.2.1"
+DEPEND=""
-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}/{Gruntfile.js,lib,package.json} ${node_modules}
-
- dodoc README* LICENSE-MIT
-}
+NPM_EXTRA_FILES="Gruntfile.js"