summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..245f3553288
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = nodejs-node-forge
+ pkgdesc = JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities
+ pkgver = 0.6.34
+ pkgrel = 1
+ url = https://www.npmjs.com/package/node-forge
+ arch = any
+ license = GPLv2
+ depends = nodejs
+ depends = npm
+ noextract = node-forge-0.6.34.tgz
+ source = http://registry.npmjs.org/node-forge/-/node-forge-0.6.34.tgz
+ md5sums = b651976fdf4f7672b22a358d271c8adc
+
+pkgname = nodejs-node-forge
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ec3b8f6a4fb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Boteium <echo Ym90ZWl1bUBnbWFpbC5jb20=|base64 -d>
+
+_npmname=node-forge
+pkgname=nodejs-node-forge
+pkgver=0.6.34
+pkgrel=1
+pkgdesc="JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities"
+arch=(any)
+url="https://www.npmjs.com/package/node-forge"
+license=( "GPLv2" )
+depends=('nodejs' 'npm' )
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+md5sums=('b651976fdf4f7672b22a358d271c8adc')
+
+package() {
+ cd "$srcdir"
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p "$_npmdir"
+ cd "$_npmdir"
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+}
+
+# vim:set ts=2 sw=2 et: