diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-25 14:03:05 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-25 14:03:05 +0000 |
commit | 23323672fc7eec2f7de2ef181655fda28924a4d5 (patch) | |
tree | fc969d9ac19e0e4a89ab5d353b00707b23cb421e /main/nodejs-wordwrap/APKBUILD | |
parent | 75a4293634fc763da6688123f502884fc6b2cc33 (diff) | |
download | aports-23323672fc7eec2f7de2ef181655fda28924a4d5.tar.bz2 aports-23323672fc7eec2f7de2ef181655fda28924a4d5.tar.xz |
main/nodejs-wordwrap: moved from testing
Diffstat (limited to 'main/nodejs-wordwrap/APKBUILD')
-rw-r--r-- | main/nodejs-wordwrap/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/nodejs-wordwrap/APKBUILD b/main/nodejs-wordwrap/APKBUILD new file mode 100644 index 000000000..e2c17b6e3 --- /dev/null +++ b/main/nodejs-wordwrap/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Eivind Uggedal <eivind@uggedal.com> +pkgname=nodejs-wordwrap +_pkgname=${pkgname#nodejs-} +pkgver=0.0.2 +pkgrel=0 +pkgdesc="Wrap your words" +url="https://github.com/substack/node-wordwrap" +arch="noarch" +license="MIT" +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 index.js "$pkgdir"/$_moduledir +} + +md5sums="337b01f9fc79d9fbe9981ce70ad34d6f wordwrap-0.0.2.tgz" +sha256sums="66a2fa688509738922c3ad62a6159fe3c93268bd3bca2bff24df4bc02cc31582 wordwrap-0.0.2.tgz" +sha512sums="c5206c09e87e83e7629e806fdc600e58ce0b71554eebcc0b5d16a789bb4149d52f906590446784f4fec8c14f449830e2e2303a2f8e25cf5e4218cc1dc3d379f9 wordwrap-0.0.2.tgz" |