aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs-amdefine
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-25 14:03:04 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-25 14:03:04 +0000
commitce3adf67585e8a3f70aabe6836be63ad0e04f0ef (patch)
treeae5174d42c9882c8b0adcbdb4e5bc44d1323d6c6 /main/nodejs-amdefine
parent007609a147cd8dc3f5166066fe0ed0d8522c9f6a (diff)
downloadaports-ce3adf67585e8a3f70aabe6836be63ad0e04f0ef.tar.bz2
aports-ce3adf67585e8a3f70aabe6836be63ad0e04f0ef.tar.xz
main/nodejs-amdefine: moved from testing
Diffstat (limited to 'main/nodejs-amdefine')
-rw-r--r--main/nodejs-amdefine/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/nodejs-amdefine/APKBUILD b/main/nodejs-amdefine/APKBUILD
new file mode 100644
index 0000000000..77c68292fa
--- /dev/null
+++ b/main/nodejs-amdefine/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=nodejs-amdefine
+_pkgname=${pkgname#nodejs-}
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="API for declaring modules in the AMD format"
+url="https://github.com/jrburke/amdefine"
+arch="noarch"
+license="BSD"
+depends="nodejs"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz"
+
+_builddir="$srcdir/package"
+_moduledir=usr/lib/node_modules/$_pkgname
+
+package() {
+ cd "$_builddir"
+
+ mkdir -p "$pkgdir"/$_moduledir
+ cp -pr package.json amdefine.js "$pkgdir"/$_moduledir
+}
+
+md5sums="a786a12877194376b2c58442b16f1677 amdefine-0.1.0.tgz"
+sha256sums="d5ca7cb4a7f7476131e94ac3d9591c594f1d6a488622c7c5642481ceacd260b4 amdefine-0.1.0.tgz"
+sha512sums="21248f626f06f7a8927bba6ef1f7d301b2cc7af311c7d485274313218d8e8cbf50a217fea1509f8b32aba4dec1376f6b2571bfa296f707508eed96a998cbafcc amdefine-0.1.0.tgz"