summaryrefslogtreecommitdiffstats
path: root/main/nodejs-uglify-to-browserify/APKBUILD
blob: 3dd29265f4ddf41839712ae691594a5a26d10816 (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-uglify-to-browserify
_pkgname=${pkgname#nodejs-}
pkgver=1.0.2
pkgrel=0
pkgdesc="A transform to make UglifyJS work in browserify"
url="https://github.com/ForbesLindesay/uglify-to-browserify"
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="9006654dbe9c4da90e0655edfefdf0d2  uglify-to-browserify-1.0.2.tgz"
sha256sums="e78538eb306ac63a5d42145d91e21e40c921487157afacecf7310cd9a9e025c2  uglify-to-browserify-1.0.2.tgz"
sha512sums="bdbdacd65631db106d520cbeb5af9bd89fc62d5511fb09a920dc0778f98f4613ac215086db00f3289d27d781ac947d4189fb2a57348ec1085168202c67f9c8e1  uglify-to-browserify-1.0.2.tgz"