aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs-source-map/APKBUILD
blob: 0c2e10849a3a928f2fbd143a372cfb77261b21a8 (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-source-map
_pkgname=${pkgname#nodejs-}
pkgver=0.1.36
pkgrel=0
pkgdesc="Generates and consumes source maps"
url="https://github.com/mozilla/source-map"
arch="noarch"
license="BSD"
depends="nodejs nodejs-amdefine"
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 lib "$pkgdir"/$_moduledir
}

md5sums="609dd70daee28ba22674f01784cceb83  source-map-0.1.36.tgz"
sha256sums="16bbbeb3d4bcb161592b941f649186cb2b5ebb1929d9eb36fb09715cb51baeb6  source-map-0.1.36.tgz"
sha512sums="e17598585dd20dec4f1de57d0601504836adeee9269ee779a66831e86b40ed188d3894019a2ac57d8f8fdf89a5686dcafc58dce475e880c8bfc1610a05155cb9  source-map-0.1.36.tgz"