aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs-source-map/APKBUILD
blob: cbc4b551d3200e5420be0a8981ea6cc2a110e16c (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.37
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="9fa7d99c5ef286e6b818c9f1db14b9e7  source-map-0.1.37.tgz"
sha256sums="90edce999e130d89e5ceb93933f73bfaa5ef1789d3dc5342883e25262713bad2  source-map-0.1.37.tgz"
sha512sums="fa871dd899c769d27adb3a9ae71a7a211bb6949bc52a93f649eb87208d68e1005fd0e08b059e549d512e232f0add7580a7d2a11e71578fdf3f05c7efa35969c7  source-map-0.1.37.tgz"