Package: node-path-root-regex
Version: 0.1.2
Revision: 1.1.1
###
BuildDepends: <<
	fink (>= 0.32)
<<
Depends: <<
	nodejs
<<
###
Source: mirror:debian:/pool/main/n/%n/%n_%v.orig.tar.gz
Source-Checksum: SHA256(a54ce961c3510932daed7d04cdbdf3dca4767b4248adc0438af1669c04e211af)
SourceDirectory: package
Source2: mirror:debian:pool/main/n/%n/%n_%v-1.1.debian.tar.xz
Source2-Checksum: SHA256(20cff49fa83f76cfd3f3fd6b4cee52b15234c5acac641c5babc61d0af23ecb14)
Source2ExtractDir: package
###
DocFiles: README.md LICENSE
###
PatchScript: <<
patch -p1 < debian/patches/add-tests.patch
<<
CompileScript: <<
mkdir path-root-regex
cp index.js path-root-regex/
cp package.json path-root-regex/
<<
InfoTest: <<
	TestDepends: <<
		mocha
	<<
	TestScript: <<
chmod +x debian/tests/require
NODE_PATH=. debian/tests/require || exit 2
mocha -R spec || exit 2
	<<
<<
InstallScript: <<
install -d -m0755 %i/share/nodejs
cp -R path-root-regex %i/share/nodejs/
<<
###
Description: Regex for the root of a filepath
DescDetail: <<
Regular expression for getting the root of a posix or windows filepath.
.
Node.js is an event-based server-side JavaScript engine.
<<
###
License: BSD
Homepage: https://github.com/regexhq/path-root-regex
Maintainer: Justin F. Hallett <thesin@users.sourceforge.net>