aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs-wordwrap/APKBUILD
blob: e2c17b6e3429d6aa1c91cb11efb2a8c8ef72f801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"