summaryrefslogtreecommitdiffstats
path: root/testing/nodejs-inherits/APKBUILD
blob: 3616566aa5e33a874ec94ccac5f99fa777865cc8 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=nodejs-inherits
_pkgname=inherits
pkgver=1.0.0
pkgrel=0
pkgdesc="A tiny simple way to do classic inheritance in js"
url="https://github.com/csvplot/2csv"
arch="noarch"
license="MIT"
depends="nodejs"
depends_dev=""
makedepends="nodejs-dev"
install=""
subpackages=""
source="http://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz"
_builddir="${srcdir}/package"

build() {
	return 0
}

package() {
	cd "$_builddir"
	install -Dm755 $_pkgname.js "$pkgdir"/usr/lib/node/$_pkgname/$_pkgname.js
	install -Dm644 package.json "$pkgdir"/usr/lib/node/$_pkgname/package.json
}

md5sums="ec96e0e077a0320f598975bae6000316  inherits-1.0.0.tgz"